diff options
| author | Alexander Barton <alex@barton.de> | 2005-02-07 23:07:52 +0000 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2005-02-07 23:07:52 +0000 |
| commit | 451315643fb03b1e6f0b797f78388bdd1847720e (patch) | |
| tree | 66f447234b99343007444e90774f4ad4d4212a78 | |
| parent | d77182e7a6a6b8c5ec3bb0182fb7926c90e68c58 (diff) | |
| download | ngircd-451315643fb03b1e6f0b797f78388bdd1847720e.tar.gz ngircd-451315643fb03b1e6f0b797f78388bdd1847720e.zip | |
Set owner and group of /var/run/ircd to "irc:irc".
| -rwxr-xr-x | contrib/Debian/ngircd.init | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/Debian/ngircd.init b/contrib/Debian/ngircd.init index 899df714..6b169bf0 100755 --- a/contrib/Debian/ngircd.init +++ b/contrib/Debian/ngircd.init @@ -2,7 +2,7 @@ # # ngIRCd start and stop script for Debian-based systems # -# $Id: ngircd.init,v 1.2 2004/09/06 00:32:20 alex Exp $ +# $Id: ngircd.init,v 1.3 2005/02/07 23:07:52 alex Exp $ # PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin @@ -28,6 +28,7 @@ Check_Config() Try_Start() { + [ ! -d /var/run/ircd ] || chown irc:irc /var/run/ircd start-stop-daemon --start --quiet --exec $DAEMON -- $PARAMS if [ $? -ne 0 ]; then echo "$NAME failed!" |