[csw-devel] SF.net SVN: gar:[4710] csw/mgar/pkg/nginx/trunk/files/CSWnginx.checkinstall

aigoshin at users.sourceforge.net aigoshin at users.sourceforge.net
Wed May 6 10:43:47 CEST 2009


Revision: 4710
          http://gar.svn.sourceforge.net/gar/?rev=4710&view=rev
Author:   aigoshin
Date:     2009-05-06 08:43:47 +0000 (Wed, 06 May 2009)

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

Modified Paths:
--------------
    csw/mgar/pkg/nginx/trunk/files/CSWnginx.checkinstall

Modified: csw/mgar/pkg/nginx/trunk/files/CSWnginx.checkinstall
===================================================================
--- csw/mgar/pkg/nginx/trunk/files/CSWnginx.checkinstall	2009-05-06 08:37:44 UTC (rev 4709)
+++ csw/mgar/pkg/nginx/trunk/files/CSWnginx.checkinstall	2009-05-06 08:43:47 UTC (rev 4710)
@@ -14,7 +14,7 @@
 		echo "nginx service is in '$STATE' state"
 		if [ "$STATE" = "online" ]; then
 			if [ -x "$BASEDIR/opt/csw/lib/svc/method/svc-cswnginx" ]; then
-				NXSTATE=`$BASEDIR/opt/csw/lib/svc/method/svc-cswnginx state`
+				NXSTATE=`$BASEDIR/opt/csw/lib/svc/method/svc-cswnginx status`
 				echo "nginx is $NXSTATE"
 				if [ "$NXSTATE" = "running" ]; then
 					echo "nginx online upgrade is requested"
@@ -25,7 +25,7 @@
 	fi
 else
 	if [ -x $BASEDIR/etc/init.d/cswnginx ]; then
-		NXSTATE=`$BASEDIR/etc/init.d/cswnginx state`
+		NXSTATE=`$BASEDIR/etc/init.d/cswnginx status`
 		echo "nginx is $NXSTATE"
 		if [ "$NXSTATE" = "running" ]; then
 			echo "nginx online upgrade is requested"


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