Title: [opsview] [9624] HTTP::Prefork is not recommended - Starman will be used instead
Revision
9624
Author
tvoon
Date
2012-07-26 16:51:44 +0100 (Thu, 26 Jul 2012)

Log Message

HTTP::Prefork is not recommended - Starman will be used instead

Modified Paths


Modified: trunk/opsview-web/bin/opsview-web
===================================================================
--- trunk/opsview-web/bin/opsview-web	2012-07-26 14:07:50 UTC (rev 9623)
+++ trunk/opsview-web/bin/opsview-web	2012-07-26 15:51:44 UTC (rev 9624)
@@ -78,7 +78,8 @@
 			RETVAL=$?
 		else
 			if [ "$USE_PREFORK" != "0" ] ; then
-				CATALYST_ENGINE="HTTP::Prefork" $wrapper script/opsview_web_server.pl $args
+				# This no longer uses HTTP::Prefork. It looks like Catalyst always uses Starman now, which is fine
+				$wrapper script/opsview_web_server.pl $args
 				RETVAL=$?
 				echo "done"
 			else
@@ -122,7 +123,7 @@
 		rm -f $pidfile
 		return 1
 	fi
-	ps -p $pid -o args,comm= | perl -ne '$found=1 if (/opsview_web|opsview-web/); END{ exit !$found }'
+	ps -p $pid -o args,comm= | perl -ne '$found=1 if (/opsview_web|opsview-web|starman/); END{ exit !$found }'
 	if [ $? -ne 0 ]; then
 		echo "Incorrect pid in pid file. Ignoring"
 		rm -f $pidfile

_______________________________________________
Opsview-checkins mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-checkins

Reply via email to