[csw-devel] SF.net SVN: gar:[4724] csw/mgar/pkg/nginx/trunk/files/svc-cswnginx

aigoshin at users.sourceforge.net aigoshin at users.sourceforge.net
Thu May 7 15:28:03 CEST 2009


Revision: 4724
          http://gar.svn.sourceforge.net/gar/?rev=4724&view=rev
Author:   aigoshin
Date:     2009-05-07 13:28:03 +0000 (Thu, 07 May 2009)

Log Message:
-----------
nginx: milestone 3.0

Modified Paths:
--------------
    csw/mgar/pkg/nginx/trunk/files/svc-cswnginx

Modified: csw/mgar/pkg/nginx/trunk/files/svc-cswnginx
===================================================================
--- csw/mgar/pkg/nginx/trunk/files/svc-cswnginx	2009-05-07 12:17:02 UTC (rev 4723)
+++ csw/mgar/pkg/nginx/trunk/files/svc-cswnginx	2009-05-07 13:28:03 UTC (rev 4724)
@@ -95,8 +95,9 @@
 	[ $RETVAL -ne 0 ] && return $RETVAL
 	OLDBINPID=0
 	for i in 1 2 3 4 5; do
-		if [ -f $PIDFILO ]; then
+		if [ -s $PIDFILO ]; then
 			OLDBINPID=1
+			sleep 2
 			break
 		else
 			sleep 1


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list