X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=contrib%2FDebian%2Fngircd.init;h=8639e2295b9203550557341eb0601210865fe0c9;hp=6a418d78ab506e97e96a5ef4b2586ff367940012;hb=e2f09213bcef479e7b3a35d67b1cc6b76f2205fb;hpb=139d6303e73079f48adfe37be2b88efed31e47df diff --git a/contrib/Debian/ngircd.init b/contrib/Debian/ngircd.init index 6a418d78..8639e229 100755 --- a/contrib/Debian/ngircd.init +++ b/contrib/Debian/ngircd.init @@ -1,7 +1,7 @@ #!/bin/sh # # ngIRCd start and stop script for Debian-based systems -# Copyright 2008-2010 Alexander Barton +# Copyright 2008-2013 Alexander Barton # ### BEGIN INIT INFO @@ -24,13 +24,13 @@ PARAMS="" STARTTIME=1 DIETIME=10 -test -x $DAEMON || exit 5 - test -h "$0" && me=`readlink $0` || me="$0" BASENAME=`basename $me` test -r /etc/default/$BASENAME && . /etc/default/$BASENAME +test -x $DAEMON || exit 5 + # LSB compatibility functions that become used if there is no local # include file available. log_daemon_msg() {