]> err.no Git - varnish/commitdiff
Fixed an error in the argument passing from the init script. Added some more info...
authoringvar <ingvar@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 26 Aug 2008 09:23:29 +0000 (09:23 +0000)
committeringvar <ingvar@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Tue, 26 Aug 2008 09:23:29 +0000 (09:23 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3130 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/redhat/varnish.initrc

index 6aa5042fc0402cc51c2ca6f959e4b4013ae0f028..1031b6092e6e75e6e968f6066282504f4ceb3ef4 100755 (executable)
@@ -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