Bugzilla – Attachment 102752 Details for
Bug 24993
koha-sip --restart is too fast, doesn't always start SIP
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Attachment to Bug 24993 - koha-sip --restart is too fast, doesn't always start sip
Bug-24993-Make-sure-SIP-server-is-stopped-before-r.patch (text/plain), 849 bytes, created by
Liz Rea
on 2020-04-10 18:00:25 UTC
(
hide
)
Description:
Attachment to Bug 24993 - koha-sip --restart is too fast, doesn't always start sip
Filename:
MIME Type:
Creator:
Liz Rea
Created:
2020-04-10 18:00:25 UTC
Size:
849 bytes
patch
obsolete
>From 1710a8e83802f020edf30760f783b6c4e959566c Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 2 Apr 2020 12:36:16 +0200 >Subject: [PATCH] Bug 24993: Make sure SIP server is stopped before restarting > it > >Signed-off-by: Liz Rea <wizzyrea@gmail.com> >--- > debian/scripts/koha-sip | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/debian/scripts/koha-sip b/debian/scripts/koha-sip >index 00d337f075..fd3c538a06 100755 >--- a/debian/scripts/koha-sip >+++ b/debian/scripts/koha-sip >@@ -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 >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 24993
:
101876
|
102255
|
102280
|
102546
|
102648
|
102682
|
102752
|
102753
|
102754
|
102755
|
102756
|
102823
|
102824
|
102825