Package: dcc-client
Version: 1.2.74-2
Severity: normal


Hello,

I found a problem with the dccifd startup script, the PID paths are wrong and so it doesn't really restart (also some newlines too much on restart only).

Best regards, René


--- /etc/init.d/dcc-client.orig 2005-04-06 19:29:44.000000000 +0200 +++ /etc/init.d/dcc-client 2005-04-11 22:51:25.000000000 +0200 @@ -15,7 +15,7 @@ case "$1" in start) echo -n "Starting $DESC: $NAME" - start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \ + start-stop-daemon --start --quiet --pidfile /var/run/dcc/$NAME.pid \ --chuid dcc:dcc --exec $DAEMON -- $OPTIONS echo "." ;; @@ -27,12 +27,12 @@ restart) echo -n "Restarting $DESC: $NAME" start-stop-daemon --stop --quiet --pidfile \ - /var/run/$NAME.pid --exec $DAEMON + /var/run/dcc/$NAME.pid --exec $DAEMON sleep 1 start-stop-daemon --start --quiet --pidfile \ - /var/run/$NAME.pid --exec $DAEMON -- $OPTIONS + /var/run/dcc/$NAME.pid --exec $DAEMON -- $OPTIONS echo "." - echo "\n" + #echo "\n" ;; *) N=/etc/init.d/$NAME




-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Reply via email to