aboutsummaryrefslogtreecommitdiff
path: root/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
commit295302ba9420e7b83e5053ea45d14601c1312e3f (patch)
tree8573378bdd2f596d660935f391a31db28782b39c /gerboweb-job-processor.service
parent6a90803ae6da0759723deda24d746d18e2fb8b8c (diff)
downloadinfra-295302ba9420e7b83e5053ea45d14601c1312e3f.tar.gz
infra-295302ba9420e7b83e5053ea45d14601c1312e3f.tar.bz2
infra-295302ba9420e7b83e5053ea45d14601c1312e3f.zip
Deployment to digitalocean works
Diffstat (limited to 'gerboweb-job-processor.service')
-rw-r--r--gerboweb-job-processor.service9
1 files changed, 9 insertions, 0 deletions
diff --git a/gerboweb-job-processor.service b/gerboweb-job-processor.service
new file mode 100644
index 0000000..8569317
--- /dev/null
+++ b/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