From ff6701c9e1357ae688fd1dda9f4a761e968ee40b Mon Sep 17 00:00:00 2001 From: Matt Thompson Date: Wed, 7 Nov 2012 16:37:06 +0000 Subject: [PATCH] Don't source stacktach_config.sh since we're no longer using that --- worker/stacktach.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/worker/stacktach.sh b/worker/stacktach.sh index be51937..ccc87c8 100755 --- a/worker/stacktach.sh +++ b/worker/stacktach.sh @@ -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)