summaryrefslogtreecommitdiff
path: root/start_ick
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 /start_ick
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 'start_ick')
-rw-r--r--start_ick11
1 files changed, 11 insertions, 0 deletions
diff --git a/start_ick b/start_ick
new file mode 100644
index 0000000..10a25f6
--- /dev/null
+++ b/start_ick
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+set -eux
+
+export ICK_CONTROLLER_CONFIG=/etc/ick/controller.conf
+gunicorn3 \
+ --daemon \
+ --bind 127.0.0.1:12765 \
+ --log-file /tmp/gunicorn3.log \
+ --log-level debug \
+ ick_controller:app