Changes between Version 23 and Version 24 of Scripts/initd


Ignore:
Timestamp:
Jan 26, 2012, 1:05:24 PM (9 years ago)
Author:
jordan
Comment:

modify the init script based on feedback from yougotborked @ https://trac.transmissionbt.com/ticket/4724

Legend:

Unmodified
Added
Removed
Modified
  • Scripts/initd

    v23 v24  
    137137        #   2 if daemon could not be stopped
    138138        #   other if a failure occurred
    139         start-stop-daemon --stop --quiet --retry=TERM/10/KILL/5 --pidfile $PIDFILE --name $NAME
     139        start-stop-daemon --stop --quiet --retry=TERM/10/KILL/5 --pidfile $PIDFILE --exec $DAEMON
    140140        RETVAL="$?"
    141141        [ "$RETVAL" = 2 ] && return 2