eg-updater -a start-util starts edi_webrick process
authorBill Erickson <berickxx@gmail.com>
Mon, 24 Apr 2017 19:14:35 +0000 (15:14 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
KCLS/admin-scripts/eg-updater.sh

index eee5413..eaec867 100755 (executable)
@@ -544,6 +544,15 @@ function start_util {
         announce "sudo ./eg-marc-stream-control.sh start <pass>"
     fi
 
+    # edi_webrick does not create a pid file.  
+    if [ "$(ps ax | grep 'edi_webrick' | grep -v grep)" ]; then 
+        announce "edi_webrick.rb is already running"
+    else
+        announce "Staring edi_webrick.rb"
+        cd /openils/bin
+        $OSRF ./edi_webrick.bash
+    fi;
+
     cd $EVERGREEN_BASE;
 }