r3123 - trunk/varnish-cache/redhat

ingvar at projects.linpro.no ingvar at projects.linpro.no
Tue Aug 26 01:01:54 CEST 2008


Author: ingvar
Date: 2008-08-26 01:01:54 +0200 (Tue, 26 Aug 2008)
New Revision: 3123

Modified:
   trunk/varnish-cache/redhat/varnish.initrc
Log:
correct pidfile option to daemon and killproc functions

Modified: trunk/varnish-cache/redhat/varnish.initrc
===================================================================
--- trunk/varnish-cache/redhat/varnish.initrc	2008-08-25 21:56:11 UTC (rev 3122)
+++ trunk/varnish-cache/redhat/varnish.initrc	2008-08-25 23:01:54 UTC (rev 3123)
@@ -62,7 +62,7 @@
 		return 6
 	else
 		# Varnish always gives output on STDOUT
-		daemon $exec "$DAEMON_OPTS" -P $pidfile > /dev/null 2>&1
+		daemon $exec "$DAEMON_OPTS" --pidfile $pidfile > /dev/null 2>&1
 		retval=$?
 		if [ $retval -eq 0 ]
 		then
@@ -99,7 +99,7 @@
 }
 
 rh_status() {
-	status $prog
+	status -p $pidfile $prog
 }
 
 rh_status_q() {




More information about the varnish-commit mailing list