summaryrefslogtreecommitdiff
path: root/start_ick
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2018-02-07 18:54:13 +0200
committerLars Wirzenius <liw@liw.fi>2018-02-09 19:11:02 +0200
commit5cf3781ad4beddfab5aa7181c0990a5462ffe06f (patch)
treea50a769bc8b6cc7e31f28466002c7dc15f2433b4 /start_ick
parent4b6fd81e121935f60f29b8314bc7c44726bf6fd7 (diff)
downloadick2-5cf3781ad4beddfab5aa7181c0990a5462ffe06f.tar.gz
Change: make all .service units be conditional on config
If the config file is missing, the unit won't start.
Diffstat (limited to 'start_ick')
-rw-r--r--start_ick4
1 files changed, 2 insertions, 2 deletions
diff --git a/start_ick b/start_ick
index add1f61..96f745c 100644
--- a/start_ick
+++ b/start_ick
@@ -1,5 +1,5 @@
#!/bin/sh
-# Copyright (C) 2017 Lars Wirzenius
+# Copyright (C) 2017-2018 Lars Wirzenius
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
@@ -16,7 +16,7 @@
set -eux
-export ICK_CONTROLLER_CONFIG=/etc/ick/controller.conf
+export ICK_CONTROLLER_CONFIG=/etc/ick/controller.yaml
gunicorn3 \
--bind 127.0.0.1:12765 \
--log-file /var/log/ick/gunicorn3.log \