Package: daapd
Version: 0.2.3d-4
Severity: minor
Tags: patch

The init.d script won't "restart" correctly.

diff -Naur daapd-0.2.3d/debian/init.d daapd-0.2.3d.fixed/debian/init.d
--- daapd-0.2.3d/debian/init.d  2005-01-11 09:14:54.000000000 +0100
+++ daapd-0.2.3d.fixed/debian/init.d    2005-01-11 09:16:51.000000000 +0100
@@ -61,11 +61,11 @@
        #       just the same as "restart".
        #
        echo -n "Restarting $DESC: "
-       start-stop-daemon --stop --quiet --pidfile \
-               /var/run/$NAME.pid --exec $DAEMON
+       start-stop-daemon --stop --quiet --user daapd  \
+               --exec $DAEMON
        sleep 1
-       start-stop-daemon --start --quiet --pidfile \
-               /var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS
+       start-stop-daemon --start --quiet --chuid daapd \
+               --exec $DAEMON -- $DAEMON_OPTS
        echo "$NAME."
        ;;
   *)

-ukh


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

Reply via email to