Merge pull request #12 from mattt416/fix_shell_script
Don't source stacktach_config.sh since we're no longer using that
This commit is contained in:
commit
54c1cf5e64
@ -5,11 +5,12 @@ DAEMON=/usr/bin/python
|
|||||||
ARGS=$WORKDIR/worker/start_workers.py
|
ARGS=$WORKDIR/worker/start_workers.py
|
||||||
PIDFILE=/var/run/stacktach.pid
|
PIDFILE=/var/run/stacktach.pid
|
||||||
|
|
||||||
|
export DJANGO_SETTINGS_MODULE="settings"
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
start)
|
start)
|
||||||
echo "Starting server"
|
echo "Starting server"
|
||||||
cd $WORKDIR
|
cd $WORKDIR
|
||||||
source etc/stacktach_config.sh
|
|
||||||
/sbin/start-stop-daemon --start --pidfile $PIDFILE --make-pidfile -b --exec $DAEMON $ARGS
|
/sbin/start-stop-daemon --start --pidfile $PIDFILE --make-pidfile -b --exec $DAEMON $ARGS
|
||||||
;;
|
;;
|
||||||
stop)
|
stop)
|
||||||
|
Loading…
Reference in New Issue
Block a user