Don't source stacktach_config.sh since we're no longer using that

This commit is contained in:
Matt Thompson 2012-11-07 16:37:06 +00:00
parent 48a80757ce
commit ff6701c9e1

View File

@ -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)