From 5d014b0741a460673cf7dcf97599ae0851b23cac Mon Sep 17 00:00:00 2001 From: ingvar Date: Tue, 26 Aug 2008 09:23:29 +0000 Subject: [PATCH] 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 --- varnish-cache/redhat/varnish.initrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5