for me adding the -- $OPTIONS in the stop function like it's in the start
function did the job.


*** /etc/init.d/ddclient        2012-06-19 18:04:38.000000000 +0200
--- /etc/init.d/ddclient.diff   2012-06-19 18:00:07.000000000 +0200
***************
*** 77,83 ****
        #   2 if daemon could not be stopped
        #   other if a failure occurred
        start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 \
!               --pidfile $PIDFILE --name $NAME
        return "$?"
  }

--- 77,83 ----
        #   2 if daemon could not be stopped
        #   other if a failure occurred
        start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 \
!               --pidfile $PIDFILE --name $NAME -- $OPTIONS
        return "$?"
  }

Reply via email to