From a2a89a5027e7bb010b2f5932b10caff5cf936081 Mon Sep 17 00:00:00 2001 From: miker Date: Thu, 5 Jul 2007 00:14:18 +0000 Subject: [PATCH] need to wait for perl to catch up ... git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@995 9efc2488-bf62-4759-914b-345cdb29e865 --- bin/osrf_ctl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/osrf_ctl.sh b/bin/osrf_ctl.sh index c96eb4c..8958204 100755 --- a/bin/osrf_ctl.sh +++ b/bin/osrf_ctl.sh @@ -119,9 +119,9 @@ function stop_router { 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; } -- 2.11.0