Bug 22235: (follow-up) Make koha-remove stop SIP server if required

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 5bb0424747)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
Tomas Cohen Arazi 2019-01-30 09:44:21 -03:00 committed by Martin Renvoize
parent 38c960a6ef
commit fa4ed5e677
No known key found for this signature in database
GPG Key ID: 422B469130441A0F
1 changed files with 4 additions and 0 deletions

View File

@ -88,6 +88,10 @@ eof
if is_plack_running $name; then
koha-plack --stop $name || /bin/true
fi
# Stop the SIP server if needed
if is_sip_running $name; then
koha-sip --stop $name || /bin/true
fi
instancefile=$(get_apache_config_for $name)
le_opacdomain=$(letsencrypt_get_opacdomain_for $name)