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
|
||||
PIDFILE=/var/run/stacktach.pid
|
||||
|
||||
export DJANGO_SETTINGS_MODULE="settings"
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
echo "Starting server"
|
||||
cd $WORKDIR
|
||||
source etc/stacktach_config.sh
|
||||
/sbin/start-stop-daemon --start --pidfile $PIDFILE --make-pidfile -b --exec $DAEMON $ARGS
|
||||
;;
|
||||
stop)
|
||||
|
Loading…
Reference in New Issue
Block a user