diff options
author | Corentin LABBE <clabbe@baylibre.com> | 2018-08-02 11:15:30 +0200 |
---|---|---|
committer | Corentin LABBE <clabbe@baylibre.com> | 2018-08-08 09:16:36 +0200 |
commit | 84b74ee04a2aa2ab686fbc8676f1923b52a420b3 (patch) | |
tree | 8f28912198611e9a44d9000d1d11e0e819849458 /lava-master-base | |
parent | a686fc2f61637a8554c55444efc748eb29f63f83 (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')
-rw-r--r-- | lava-master-base/scripts/lava-logs | 2 | ||||
-rw-r--r-- | lava-master-base/scripts/lava-server-gunicorn | 2 |
2 files changed, 2 insertions, 2 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() 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() |