Ignore:
Timestamp:
02/22/08 12:18:03 (16 years ago)
Author:
bastiaans
Message:

pkg/deb/init.d/jobarchived:

  • fix
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pkg/deb/init.d/jobarchived

    r453 r479  
    1717        echo -n "Starting $DESC: "
    1818        start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \
    19                 --exec $DAEMON -- --pidfile "$PIDFILE" $OPTIONS || { echo "start failed."; return 0; }
     19                --exec $DAEMON -- --pidfile "$PIDFILE" $OPTIONS || { echo "start failed."; exit 0; }
    2020        echo "$NAME."
     21        exit 0
    2122        ;;
    2223  stop)
    2324        echo -n "Stopping $DESC: "
    2425        start-stop-daemon --stop  --quiet --pidfile /var/run/$NAME.pid \
    25                 --signal 9 2>&1 > /dev/null || { rm -f "$PIDFILE"; echo "not running."; return 0; }
     26                --signal 9 2>&1 > /dev/null || { rm -f "$PIDFILE"; echo "not running."; exit 0; }
    2627        echo "$NAME."
    2728        rm -f "$PIDFILE"
Note: See TracChangeset for help on using the changeset viewer.