aboutsummaryrefslogtreecommitdiff
path: root/gerboweb/deploy/gerboweb-job-processor.service
diff options
context:
space:
mode:
authorjaseg <code@jaseg.net>2019-03-27 23:08:20 +0900
committerjaseg <git@jaseg.net>2019-03-27 23:08:20 +0900
commitdabe1d8809348cf82c82b9a871f0509e1403a8cd (patch)
tree2329a7525124028208f8df782b2eced9fbfe7625 /gerboweb/deploy/gerboweb-job-processor.service
parent874adce8f4efdda653c1e60d5b353a3bc816af93 (diff)
downloadgerbolyze-dabe1d8809348cf82c82b9a871f0509e1403a8cd.tar.gz
gerbolyze-dabe1d8809348cf82c82b9a871f0509e1403a8cd.tar.bz2
gerbolyze-dabe1d8809348cf82c82b9a871f0509e1403a8cd.zip
Deployment to digitalocean works
Diffstat (limited to 'gerboweb/deploy/gerboweb-job-processor.service')
-rw-r--r--gerboweb/deploy/gerboweb-job-processor.service9
1 files changed, 9 insertions, 0 deletions
diff --git a/gerboweb/deploy/gerboweb-job-processor.service b/gerboweb/deploy/gerboweb-job-processor.service
new file mode 100644
index 0000000..8569317
--- /dev/null
+++ b/gerboweb/deploy/gerboweb-job-processor.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Gerboweb gerber job processor
+
+[Service]
+WorkingDirectory=/var/lib/gerboweb
+ExecStart=/usr/bin/python3 job_processor.py /var/cache/gerboweb/job_queue.sqlite3
+
+[Install]
+WantedBy=uwsgi-app@gerboweb.service