need to wait for perl to catch up ...
authormiker <miker@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 5 Jul 2007 00:14:18 +0000 (00:14 +0000)
committermiker <miker@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 5 Jul 2007 00:14:18 +0000 (00:14 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@995 9efc2488-bf62-4759-914b-345cdb29e865

bin/osrf_ctl.sh

index c96eb4c..8958204 100755 (executable)
@@ -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;
 }