Changeset 437 for trunk/pkg/deb/init.d/jobmond
- Timestamp:
- 07/12/07 10:34:05 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/pkg/deb/init.d/jobmond
r436 r437 2 2 3 3 PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin 4 DAEMON=/usr/ bin/jobmond4 DAEMON=/usr/sbin/jobmond 5 5 NAME=jobmond 6 6 DESC="Job Monitor Daemon" … … 10 10 test -x $DAEMON || exit 0 11 11 12 OPTIONS="" 13 12 14 [ -r /etc/default/$NAME ] && . /etc/default/$NAME 13 15 … … 16 18 echo -n "Starting $DESC: " 17 19 start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \ 18 --exec $DAEMON -- --pidfile "$PIDFILE" || { echo " start failed."; exit 1; }20 --exec $DAEMON -- --pidfile "$PIDFILE" $OPTIONS || { echo " start failed."; exit 1; } 19 21 echo "$NAME." 20 22 ;;
Note: See TracChangeset
for help on using the changeset viewer.