From a03f10179df47410f37b53cceb4abd8ffa187889 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Tue, 27 Jan 2015 11:34:26 -0500 Subject: [PATCH] JBAS-415 eg-updator uses fast service shutdown osrf_control --stop-all uses a graceful shutdown, which is useful when it's not clear if activity is ongoing, but takes longer than a non-graceful shutdown. Since we don't stop services when they may be in use, we don't need graceful shutdown. Use --fast-shutdown-all instead, which tells each service to stop and clean up immediately. Signed-off-by: Bill Erickson --- KCLS/misc-scripts/eg-updater.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/KCLS/misc-scripts/eg-updater.sh b/KCLS/misc-scripts/eg-updater.sh index 4408ffaf6f..c9edaae280 100755 --- a/KCLS/misc-scripts/eg-updater.sh +++ b/KCLS/misc-scripts/eg-updater.sh @@ -298,8 +298,12 @@ if [ -n "$WEB_ONLY" ]; then deploy_web else + # Note the use of --fast-shutdown-all, which is faster than the + # default graceful shutdown. We don't need graceful shutdown, + # since we will not be stopping potentially active services. announce "Stopping services" - $OSRF /openils/bin/osrf_control --localhost --stop-all > /dev/null + $OSRF /openils/bin/osrf_control --localhost \ + --fast-shutdown-all > /dev/null if [ -z "$SKIP_APACHE" ]; then announce "Stopping Apache" -- 2.11.0