From: ingvar Date: Tue, 26 Aug 2008 09:23:29 +0000 (+0000) Subject: Fixed an error in the argument passing from the init script. Added some more info... X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d014b0741a460673cf7dcf97599ae0851b23cac;p=varnish Fixed an error in the argument passing from the init script. Added some more info text to the stop action. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3130 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/redhat/varnish.initrc b/varnish-cache/redhat/varnish.initrc index 6aa5042f..1031b609 100755 --- a/varnish-cache/redhat/varnish.initrc +++ b/varnish-cache/redhat/varnish.initrc @@ -62,7 +62,7 @@ start() { return 6 else # Varnish always gives output on STDOUT - daemon $exec "$DAEMON_OPTS" --pidfile $pidfile > /dev/null 2>&1 + daemon --pidfile $pidfile $exec "$DAEMON_OPTS" > /dev/null 2>&1 retval=$? if [ $retval -eq 0 ] then @@ -77,7 +77,7 @@ start() { } stop() { - echo -n "Stopping $prog: " + echo -n "Stopping varnish HTTP accelerator: " killproc $prog retval=$? echo