Enable Pidfile /var/run/ircd/ngircd.pid
authorAlexander Barton <alex@barton.de>
Mon, 14 Feb 2005 00:44:48 +0000 (00:44 +0000)
committerAlexander Barton <alex@barton.de>
Mon, 14 Feb 2005 00:44:48 +0000 (00:44 +0000)
contrib/Debian/ngircd.init

index 6b169bf0285fdb2274697bc8f3e584b4d9fcca1d..769839533b88fdb4a5e9bb186112a8c4da151c65 100755 (executable)
@@ -2,7 +2,7 @@
 #
 # ngIRCd start and stop script for Debian-based systems
 #
 #
 # ngIRCd start and stop script for Debian-based systems
 #
-# $Id: ngircd.init,v 1.3 2005/02/07 23:07:52 alex Exp $
+# $Id: ngircd.init,v 1.4 2005/02/14 00:44:48 alex Exp $
 #
 
 PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
 #
 
 PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
@@ -45,7 +45,7 @@ case "$1" in
        ;;
   stop)
        echo -n "Stopping $DESC: "
        ;;
   stop)
        echo -n "Stopping $DESC: "
-       start-stop-daemon --stop --quiet --exec $DAEMON \
+       start-stop-daemon --stop --quiet --pidfile /var/run/ircd/ngircd.pid --exec $DAEMON \
          && echo "$NAME." \
          || echo "(none running)"
        ;;
          && echo "$NAME." \
          || echo "(none running)"
        ;;