r3130 - trunk/varnish-cache/redhat

ingvar at projects.linpro.no ingvar at projects.linpro.no
Tue Aug 26 11:23:29 CEST 2008


Author: ingvar
Date: 2008-08-26 11:23:29 +0200 (Tue, 26 Aug 2008)
New Revision: 3130

Modified:
   trunk/varnish-cache/redhat/varnish.initrc
Log:
Fixed an error in the argument passing from the init script. Added some more info text to the stop action.

Modified: trunk/varnish-cache/redhat/varnish.initrc
===================================================================
--- trunk/varnish-cache/redhat/varnish.initrc	2008-08-26 09:17:32 UTC (rev 3129)
+++ trunk/varnish-cache/redhat/varnish.initrc	2008-08-26 09:23:29 UTC (rev 3130)
@@ -62,7 +62,7 @@
 		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 @@
 }
 
 stop() {
-	echo -n "Stopping $prog: "
+	echo -n "Stopping varnish HTTP accelerator: "
 	killproc $prog
 	retval=$?
 	echo




More information about the varnish-commit mailing list