diff options
author | Krzysztof Krzyżaniak <eloy@debian.org> | 2006-05-10 13:00:45 +0000 |
---|---|---|
committer | Krzysztof Krzyżaniak <eloy@debian.org> | 2006-05-10 13:00:45 +0000 |
commit | 5134dfb5166ca90e9a8b1c4109d6a8aec5019c99 (patch) | |
tree | a48dca2699a59178e2b8201bcac472cd951f90cf | |
parent | 755abb89480c4ac261978912b8f7017453e0cb26 (diff) | |
download | lighttpd-5134dfb5166ca90e9a8b1c4109d6a8aec5019c99.tar.gz |
eloy: final versiondebian/1.4.11-5
-rw-r--r-- | debian/init.d | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/debian/init.d b/debian/init.d index eed3e74..d18d477 100644 --- a/debian/init.d +++ b/debian/init.d @@ -28,7 +28,7 @@ case "$1" in start) log_daemon_msg "Starting $DESC" $NAME if ! start-stop-daemon --start --quiet\ - --pidfile $PIDFILE --exec $DAEMON -- $DAEMON_OPTS ; then + --pidfile $PIDFILE --exec $DAEMON -- $DAEMON_OPTS ; then log_end_msg 1 else log_end_msg 0 @@ -36,7 +36,7 @@ case "$1" in ;; stop) log_daemon_msg "Stopping $DESC" $NAME - if start-stop-daemon --quiet --stop --oknodo\ + if start-stop-daemon --quiet --stop --oknodo --retry 30\ --pidfile $PIDFILE --exec $DAEMON; then rm -f $PIDFILE log_end_msg 0 @@ -46,7 +46,8 @@ case "$1" in ;; reload) log_daemon_msg "Reloading $DESC configuration" $NAME - if start-stop-daemon --stop --signal 2 --retry 30 --quiet --pidfile $PIDFILE --exec $DAEMON; then + if start-stop-daemon --stop --signal 2 --oknodo --retry 30\ + --quiet --pidfile $PIDFILE --exec $DAEMON; then if start-stop-daemon --start --quiet \ --pidfile $PIDFILE --exec $DAEMON -- $DAEMON_OPTS ; then log_end_msg 0 |