Changes between Version 18 and Version 19 of Scripts/initd


Ignore:
Timestamp:
Jan 11, 2009, 9:33:04 PM (12 years ago)
Author:
Waldorf
Comment:

fix pidfile issue (thx wereHamster)

Legend:

Unmodified
Added
Removed
Modified
  • Scripts/initd

    v18 v19  
    117117    #   2 if daemon could not be started
    118118    start-stop-daemon --chuid $USERNAME --start --pidfile $PIDFILE --make-pidfile \
    119             --exec $DAEMON --test -- $TRANSMISSION_ARGS > /dev/null \
     119            --exec $DAEMON --background --test -- -f $TRANSMISSION_ARGS > /dev/null \
    120120            || return 1
    121121    start-stop-daemon --chuid $USERNAME --start --pidfile $PIDFILE --make-pidfile \
    122             --exec $DAEMON -- $TRANSMISSION_ARGS \
     122            --exec $DAEMON --background -- -f $TRANSMISSION_ARGS \
    123123            || return 2
    124124}