projects
/
working
/
Evergreen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
495d620
)
eg-updater -a start-util starts edi_webrick process
author
Bill Erickson
<berickxx@gmail.com>
Mon, 24 Apr 2017 19:14:35 +0000
(15:14 -0400)
committer
Bill 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
patch
|
blob
|
history
diff --git
a/KCLS/admin-scripts/eg-updater.sh
b/KCLS/admin-scripts/eg-updater.sh
index
eee5413
..
eaec867
100755
(executable)
--- 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 <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;
}