diff options
author | jaseg <code@jaseg.net> | 2019-04-02 04:36:10 +0900 |
---|---|---|
committer | jaseg <git@jaseg.net> | 2019-04-02 04:36:10 +0900 |
commit | cbb98bcf0ee0e9e123f054377ff68b513efe6bf6 (patch) | |
tree | d44deea64134600a6b385c3c4a773aadc20812cf /gerboweb/deploy/gerboweb-job-processor.service.j2 | |
parent | a846d39bc88e0c03402b20790b04762666bc055f (diff) | |
download | gerbolyze-cbb98bcf0ee0e9e123f054377ff68b513efe6bf6.tar.gz gerbolyze-cbb98bcf0ee0e9e123f054377ff68b513efe6bf6.tar.bz2 gerbolyze-cbb98bcf0ee0e9e123f054377ff68b513efe6bf6.zip |
gerboweb: Modularize deployment playbooks a bit
Diffstat (limited to 'gerboweb/deploy/gerboweb-job-processor.service.j2')
-rw-r--r-- | gerboweb/deploy/gerboweb-job-processor.service.j2 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gerboweb/deploy/gerboweb-job-processor.service.j2 b/gerboweb/deploy/gerboweb-job-processor.service.j2 new file mode 100644 index 0000000..517d8b8 --- /dev/null +++ b/gerboweb/deploy/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 |