# HG changeset patch # User Marcin Kuzminski # Date 1282915523 -7200 # Node ID ccbb7ea2b20376a9aef119c626dc668b8eae688d # Parent 41504f4aa96bf1a3c3fbe204042e195b8086ffbd another bugfix to init scripts diff -r 41504f4aa96b -r ccbb7ea2b203 hg_app_daemon --- a/hg_app_daemon Fri Aug 27 14:56:52 2010 +0200 +++ b/hg_app_daemon Fri Aug 27 15:25:23 2010 +0200 @@ -43,7 +43,8 @@ stop() { ebegin "Stopping $APP_NAME" - start-stop-daemon --stop --quiet \ + start-stop-daemon -d $APP_PATH \ + --stop --quiet \ --pidfile $PID_PATH || echo "$APP_NAME - Not running!" if [ -f $PID_PATH ]; then rm $PID_PATH diff -r 41504f4aa96b -r ccbb7ea2b203 hg_app_daemon2 --- a/hg_app_daemon2 Fri Aug 27 14:56:52 2010 +0200 +++ b/hg_app_daemon2 Fri Aug 27 15:25:23 2010 +0200 @@ -45,8 +45,9 @@ --exec $DAEMON -- $DAEMON_OPTS ;; stop) - echo "Stopping $APP_NAME" - start-stop-daemon --stop --quiet \ + ebegin "Stopping $APP_NAME" + start-stop-daemon -d $APP_PATH \ + --stop --quiet \ --pidfile $PID_PATH || echo "$APP_NAME - Not running!" if [ -f $PID_PATH ]; then rm $PID_PATH