From 295302ba9420e7b83e5053ea45d14601c1312e3f Mon Sep 17 00:00:00 2001 From: jaseg Date: Wed, 27 Mar 2019 23:08:20 +0900 Subject: Deployment to digitalocean works --- gerboweb-job-processor.service | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 gerboweb-job-processor.service (limited to 'gerboweb-job-processor.service') 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 -- cgit