Changeset 439 for trunk/pkg/deb/init.d
- Timestamp:
- 07/12/07 10:39:34 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/pkg/deb/init.d/jobmond
r437 r439 18 18 echo -n "Starting $DESC: " 19 19 start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \ 20 --exec $DAEMON -- --pidfile "$PIDFILE" $OPTIONS || { echo " start failed."; exit 1; }20 --exec $DAEMON -- --pidfile "$PIDFILE" $OPTIONS || { echo " start failed."; exit 0; } 21 21 echo "$NAME." 22 22 ;; … … 24 24 echo -n "Stopping $DESC: " 25 25 start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \ 26 --signal 9 2>&1 > /dev/null || { rm -f "$PIDFILE"; echo " not running."; exit 1; }26 --signal 9 2>&1 > /dev/null || { rm -f "$PIDFILE"; echo " not running."; exit 0; } 27 27 echo "$NAME." 28 28 rm -f "$PIDFILE"
Note: See TracChangeset
for help on using the changeset viewer.