From b14b3774336596cf316c654f610443daf05bdf05 Mon Sep 17 00:00:00 2001 From: james75 Date: Fri, 25 Mar 2016 22:52:44 +0800 Subject: [PATCH] Updated to be compatible with pip install PID need to be created Paths are different --- ubuntu | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ubuntu b/ubuntu index 3407fe9..2293a76 100644 --- a/ubuntu +++ b/ubuntu @@ -28,8 +28,8 @@ . /lib/lsb/init-functions PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin -DAEMON=/usr/bin/supervisord -SUPERVISORCTL=/usr/bin/supervisorctl +DAEMON=/usr/local/bin/supervisord +SUPERVISORCTL=/usr/local/bin/supervisorctl NAME=supervisord DESC=supervisor @@ -46,7 +46,7 @@ DODTIME=5 # Time to wait for the server to die, in seconds if [ -f /etc/default/supervisor ] ; then . /etc/default/supervisor fi -DAEMON_OPTS="-c /etc/supervisor/supervisord.conf $DAEMON_OPTS" +DAEMON_OPTS="-c /etc/supervisor/supervisord.conf -j $PIDFILE $DAEMON_OPTS" set -e