1
0
mirror of https://github.com/osmarks/ngircd.git synced 2024-12-12 01:40:27 +00:00

Set owner and group of /var/run/ircd to "irc:irc".

This commit is contained in:
Alexander Barton 2005-02-07 23:07:52 +00:00
parent d77182e7a6
commit 451315643f

View File

@ -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.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 PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
@ -28,6 +28,7 @@ Check_Config()
Try_Start() Try_Start()
{ {
[ ! -d /var/run/ircd ] || chown irc:irc /var/run/ircd
start-stop-daemon --start --quiet --exec $DAEMON -- $PARAMS start-stop-daemon --start --quiet --exec $DAEMON -- $PARAMS
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo "$NAME failed!" echo "$NAME failed!"