From 84b74ee04a2aa2ab686fbc8676f1923b52a420b3 Mon Sep 17 00:00:00 2001 From: Corentin LABBE Date: Thu, 2 Aug 2018 11:15:30 +0200 Subject: 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. --- lava-master-base/scripts/lava-logs | 2 +- lava-master-base/scripts/lava-server-gunicorn | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lava-master-base/scripts') 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() diff --git a/lava-master-base/scripts/lava-server-gunicorn b/lava-master-base/scripts/lava-server-gunicorn index 217ad57..e8f1a52 100644 --- a/lava-master-base/scripts/lava-server-gunicorn +++ b/lava-master-base/scripts/lava-server-gunicorn @@ -43,7 +43,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 -- lava_server.wsgi --log-level $LOGLEVEL --log-file $LOGFILE -u lavaserver -g lavaserver --workers $WORKERS $RELOAD + start-stop-daemon --start --quiet --background --make-pidfile --pidfile $PIDFILE --exec $DAEMON -- lava_server.wsgi --log-level $LOGLEVEL --log-file $LOGFILE -u lavaserver -g lavaserver --workers $WORKERS $RELOAD } do_stop() -- cgit 1.2.3-korg