summaryrefslogtreecommitdiff
path: root/ick2.service
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2017-10-13 16:01:04 +0300
committerLars Wirzenius <liw@liw.fi>2017-10-13 16:01:04 +0300
commit3a572cb5d896c2e4e972dca2f84e531e90bec4c8 (patch)
tree03cb4c2883746c5e31ebee11fd455adf78b1684a /ick2.service
parentd9e213d0a866956a3adab75faae375a59174b19e (diff)
downloadick2-3a572cb5d896c2e4e972dca2f84e531e90bec4c8.tar.gz
Add: start_ick script to start ick
Can't see why the command in ick2.service doesn't work, and I'm tired of debugging this.
Diffstat (limited to 'ick2.service')
-rw-r--r--ick2.service5
1 files changed, 2 insertions, 3 deletions
diff --git a/ick2.service b/ick2.service
index 423e26c..9e2f4c1 100644
--- a/ick2.service
+++ b/ick2.service
@@ -20,9 +20,8 @@ After=network.target
Type=simple
User=www-data
Group=www-data
-WorkingDirectory=/var/lib/ick2
-Environment=ICK_CONTROLLER_CONFIG=/etc/ick/controller.conf
-ExecStart=/usr/bin/gunicorn3 --daemon --bind 127.0.0.1:12765 --log-file /tmp/gunicorn3.log --log-level debug ick_controller:app
+WorkingDirectory=/var/lib/ick
+ExecStart=/usr/bin/start_ick
KillSignal=QUIT
[Install]