aboutsummaryrefslogtreecommitdiff
path: root/gerboweb/deploy/pogojig-job-processor.service.j2
diff options
context:
space:
mode:
authorjaseg <code@jaseg.net>2019-09-29 16:28:11 +0200
committerjaseg <code@jaseg.net>2019-09-29 16:28:11 +0200
commitaaacaed22082df3ec338b1bc795ebe3013c450c8 (patch)
treeb8b43ef98a61e407740ac7455f6dd989b2d406cf /gerboweb/deploy/pogojig-job-processor.service.j2
parent0ada527f0b0e8400253407b78a25d8fbadbe726b (diff)
downloadgerbolyze-aaacaed22082df3ec338b1bc795ebe3013c450c8.tar.gz
gerbolyze-aaacaed22082df3ec338b1bc795ebe3013c450c8.tar.bz2
gerbolyze-aaacaed22082df3ec338b1bc795ebe3013c450c8.zip
deploy: add pogojig
Diffstat (limited to 'gerboweb/deploy/pogojig-job-processor.service.j2')
-rw-r--r--gerboweb/deploy/pogojig-job-processor.service.j29
1 files changed, 9 insertions, 0 deletions
diff --git a/gerboweb/deploy/pogojig-job-processor.service.j2 b/gerboweb/deploy/pogojig-job-processor.service.j2
new file mode 100644
index 0000000..5ca9a8b
--- /dev/null
+++ b/gerboweb/deploy/pogojig-job-processor.service.j2
@@ -0,0 +1,9 @@
+[Unit]
+Description=Pogojig render job processor
+
+[Service]
+WorkingDirectory=/var/lib/pogojig
+ExecStart=/usr/bin/python3 job_processor.py {{pogojig_cache}}/job_queue.sqlite3
+
+[Install]
+WantedBy=uwsgi-app@pogojig.service