From: thib Date: Thu, 25 Dec 2003 22:52:10 +0000 (+0000) Subject: fixed test for debian's system X-Git-Tag: ver2_9_4~18 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=267669567845e9fa60fa3b5ceea4d94ebc72f00a;p=fcron fixed test for debian's system --- diff --git a/script/sysVinit-launcher b/script/sysVinit-launcher index 5983f6b..68dfbd7 100755 --- a/script/sysVinit-launcher +++ b/script/sysVinit-launcher @@ -6,7 +6,7 @@ # processname: fcron # pidfile: /var/run/fcron.pid # config: /var/spool/fcron/* -# $Id: sysVinit-launcher,v 1.8 2001-08-17 19:48:41 thib Exp $ +# $Id: sysVinit-launcher,v 1.9 2003-12-25 22:52:10 thib Exp $ export PATH="/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin" @@ -19,7 +19,7 @@ if test -f /etc/rc.d/init.d/functions; then STARTCMD="daemon $SBIN/fcron -b" STOPCMD="killproc fcron" FINALECHO="echo" -elif start-stop-daemon -V > /dev/null; then +elif start-stop-daemon --version > /dev/null; then STARTCMD="start-stop-daemon --start --quiet --exec $SBIN/fcron -- -b" STOPCMD="start-stop-daemon --stop --quiet --exec $SBIN/fcron" FINALECHO="echo ."