aboutsummaryrefslogtreecommitdiffstats
path: root/lava-master-base/scripts/lava-logs
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2018-08-02 11:15:30 +0200
committerCorentin LABBE <clabbe@baylibre.com>2018-08-08 09:16:36 +0200
commit84b74ee04a2aa2ab686fbc8676f1923b52a420b3 (patch)
tree8f28912198611e9a44d9000d1d11e0e819849458 /lava-master-base/scripts/lava-logs
parenta686fc2f61637a8554c55444efc748eb29f63f83 (diff)
lava-master-base: add missing --make-pidfile
lava-logs and lava-server-gunicorn init script fail to restart. This is due to a missing --make-pidfile option.
Diffstat (limited to 'lava-master-base/scripts/lava-logs')
-rw-r--r--lava-master-base/scripts/lava-logs2
1 files changed, 1 insertions, 1 deletions
diff --git a/lava-master-base/scripts/lava-logs b/lava-master-base/scripts/lava-logs
index 69b2f82..469679b 100644
--- a/lava-master-base/scripts/lava-logs
+++ b/lava-master-base/scripts/lava-logs
@@ -41,7 +41,7 @@ do_start()
# 0 if daemon has been started
# 1 if daemon was already running
# other if daemon could not be started or a failure occured
- start-stop-daemon --start --quiet --background --pidfile $PIDFILE --exec $DAEMON -- manage lava-logs --level $LOGLEVEL $SOCKET $MASTER_SOCKET $IPV6 $ENCRYPT $MASTER_CERT $SLAVES_CERTS
+ start-stop-daemon --start --quiet --background --make-pidfile --pidfile $PIDFILE --exec $DAEMON -- manage lava-logs --level $LOGLEVEL $SOCKET $MASTER_SOCKET $IPV6 $ENCRYPT $MASTER_CERT $SLAVES_CERTS
}
do_stop()