Public bug reported:
The current /etc/init.d/ddclient.conf script is written in such a way
that "start" will never work as an argument (that is, it will only work
if it's already started). The commented-out lines are the ones I have
removed, and I have marked the ones I have added.
case "$1" in
start)
if [ "$run_daemon" = "true" ]; then # my line
# if [ "$run_daemon" != "true" ]; then
# log_warning_msg "$DESC not in use "
log_warning_msg "$DESC already in use " # my line
log_end_msg 0
exit 0
fi
log_begin_msg "Starting $DESC..."
start-stop-daemon --start --quiet --background \
--pidfile /var/run/$NAME.pid --exec $DAEMON -- $OPTIONS ||
log_end_msg 1
log_end_msg 0
;;
:
** Affects: ddclient (Ubuntu)
Importance: Untriaged
Status: Unconfirmed
--
init.d script broken--can't start daemon
https://launchpad.net/bugs/54102
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs