diff options
author | Mark Longair <mhl@pobox.com> | 2012-09-28 08:11:35 +0100 |
---|---|---|
committer | Mark Longair <mhl@pobox.com> | 2012-09-28 08:11:35 +0100 |
commit | 9eefbd3ec484cedfc8508557c3b7c356b8a53f9c (patch) | |
tree | 0087ab81cda2e19dd1535adbec60030793b63dd7 | |
parent | a9b2c818c00d05d16dd762a2821d8dda5d2123e0 (diff) |
Start the FastCGI daemon in the right directory
-rwxr-xr-x | conf/sysvinit-catalyst-fastcgi.example | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/sysvinit-catalyst-fastcgi.example b/conf/sysvinit-catalyst-fastcgi.example index d8e165a2b..7c2186b54 100755 --- a/conf/sysvinit-catalyst-fastcgi.example +++ b/conf/sysvinit-catalyst-fastcgi.example @@ -24,7 +24,7 @@ test -f $DAEMON || exit 0 set -e start_daemon() { - su -l -c "$SITE_HOME/fixmystreet/bin/cron-wrapper $SITE_HOME/fixmystreet/web/fixmystreet_app_fastcgi.cgi -d -l :9000 -n 2" $USER + su -l -c "cd $SITE_HOME/fixmystreet && bin/cron-wrapper web/fixmystreet_app_fastcgi.cgi -d -l :9000 -n 2" $USER } stop_daemon() { |