Bug 24993: Make sure SIP server is stopped before restarting it
Sometimes doing koha-sip --restart instance happens too fast and the SIP server is not started. To test: - have SIP enabled and running for your instance - issue a restart, make sure it restarts sudo koha-sip --restart inst Signed-off-by: Liz Rea <wizzyrea@gmail.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
0004816118
commit
51e504cbfe
1 changed files with 3 additions and 0 deletions
3
debian/scripts/koha-sip
vendored
3
debian/scripts/koha-sip
vendored
|
@ -154,6 +154,9 @@ restart_sip()
|
|||
local noLF="-n"
|
||||
[ "$verbose" != "no" ] && noLF=""
|
||||
echo $noLF `stop_sip ${name}`
|
||||
while is_sip_running ${name}; do
|
||||
sleep 1;
|
||||
done
|
||||
echo $noLF `start_sip ${name}`
|
||||
else
|
||||
if [ "$verbose" != "no" ]; then
|
||||
|
|
Loading…
Reference in a new issue