From: miker Date: Thu, 5 Jul 2007 00:14:18 +0000 (+0000) Subject: need to wait for perl to catch up ... X-Git-Tag: osrf_rel_2_0_1~935 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=a2a89a5027e7bb010b2f5932b10caff5cf936081;p=OpenSRF.git need to wait for perl to catch up ... git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@995 9efc2488-bf62-4759-914b-345cdb29e865 --- 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; }