[Opensrf-commits] r995 - trunk/bin

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Jul 4 20:18:05 EDT 2007


Author: miker
Date: 2007-07-04 20:14:18 -0400 (Wed, 04 Jul 2007)
New Revision: 995

Modified:
   trunk/bin/osrf_ctl.sh
Log:
need to wait for perl to catch up ...

Modified: trunk/bin/osrf_ctl.sh
===================================================================
--- trunk/bin/osrf_ctl.sh	2007-07-05 00:02:42 UTC (rev 994)
+++ trunk/bin/osrf_ctl.sh	2007-07-05 00:14:18 UTC (rev 995)
@@ -119,9 +119,9 @@
 function start_perl {
 	do_action "start" $PID_OSRF_PERL "OpenSRF Perl";
 	perl -MOpenSRF::System="$OPT_CONFIG" -e 'OpenSRF::System->bootstrap()' & 
+	sleep 3;
 	pid=$(ps ax | grep "OpenSRF System" | grep -v grep | grep -v "System-C"| awk '{print $1}')
 	echo $pid > $PID_OSRF_PERL;
-	sleep 3;
 	return 0;
 }
 



More information about the opensrf-commits mailing list