I just edited the /etc/init.d/ngircd initscript so It would use
/var/run/ngircd.pid as a pidfile


@@ -28,7 +28,7 @@
        echo -n "Starting Next generation IRC server: "
        start-stop-daemon --start --chuid irc:irc \
        --make-pidfile --background \
-       --pidfile /var/run/ngircd/ngircd.pid \
+       --pidfile /var/run/ngircd.pid \
        --exec /usr/sbin/ngircd -- -n
        echo "ngircd."
        ;;
@@ -36,16 +36,16 @@
   stop)
        echo -n "Stopping Next generation IRC server: "
        start-stop-daemon --stop --quiet \
-       --pidfile /var/run/ngircd/ngircd.pid \
+       --pidfile /var/run/ngircd.pid \
        --exec /usr/sbin/ngircd
-       rm -f /var/run/ngircd/ngircd.pid
+       rm -f /var/run/ngircd.pid
        echo "ngircd."
        ;;

   reload|force-reload)
        echo -n "Reloading Next generation IRC server configuration: "
        start-stop-daemon --stop --quiet --oknodo --signal 1 \
-       --pidfile /var/run/ngircd/ngircd.pid \
+       --pidfile /var/run/ngircd.pid \
        --exec /usr/sbin/ngircd
        echo "ngircd."
        ;;

-- 
ngircd refuses to start automatically through sysv init
https://bugs.launchpad.net/bugs/85266
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to