From 2dc914ccb10af9bfbf89bb1487e447cbdd878822 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Mon, 24 Apr 2017 15:14:35 -0400 Subject: [PATCH] eg-updater -a start-util starts edi_webrick process Signed-off-by: Bill Erickson --- KCLS/admin-scripts/eg-updater.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/KCLS/admin-scripts/eg-updater.sh b/KCLS/admin-scripts/eg-updater.sh index eee5413fef..eaec86734a 100755 --- a/KCLS/admin-scripts/eg-updater.sh +++ b/KCLS/admin-scripts/eg-updater.sh @@ -544,6 +544,15 @@ function start_util { announce "sudo ./eg-marc-stream-control.sh start " 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; } -- 2.11.0