aboutsummaryrefslogtreecommitdiff
path: root/gerboweb/ansible/gerboweb-job-processor.service.j2
diff options
context:
space:
mode:
Diffstat (limited to 'gerboweb/ansible/gerboweb-job-processor.service.j2')
-rw-r--r--gerboweb/ansible/gerboweb-job-processor.service.j29
1 files changed, 9 insertions, 0 deletions
diff --git a/gerboweb/ansible/gerboweb-job-processor.service.j2 b/gerboweb/ansible/gerboweb-job-processor.service.j2
new file mode 100644
index 0000000..517d8b8
--- /dev/null
+++ b/gerboweb/ansible/gerboweb-job-processor.service.j2
@@ -0,0 +1,9 @@
+[Unit]
+Description=Gerboweb gerber job processor
+
+[Service]
+WorkingDirectory=/var/lib/gerboweb
+ExecStart=/usr/bin/python3 job_processor.py {{gerboweb_cache}}/job_queue.sqlite3
+
+[Install]
+WantedBy=uwsgi-app@gerboweb.service