summaryrefslogtreecommitdiffstats
path: root/lava-master-base/scripts/lava-server-gunicorn
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-server-gunicorn
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-server-gunicorn')
-rw-r--r--lava-master-base/scripts/lava-server-gunicorn2
1 files changed, 1 insertions, 1 deletions
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()