From 7d3af48b9fa8b87e73c7594953a4cebb071ff9f6 Mon Sep 17 00:00:00 2001
From: Liz Rea <wizzyrea@gmail.com>
Date: Thu, 26 Mar 2020 15:27:26 +0000
Subject: [PATCH] Bug 24993: add a pause between stopping and starting sip on
 restart

To test:

- have SIP enabled and running
- issue a restart, make sure it restarts.
 sudo koha-sip --restart inst
---
 debian/scripts/koha-sip | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/scripts/koha-sip b/debian/scripts/koha-sip
index 00d337f075..9026a85d89 100755
--- a/debian/scripts/koha-sip
+++ b/debian/scripts/koha-sip
@@ -154,6 +154,7 @@ restart_sip()
         local noLF="-n"
         [ "$verbose" != "no" ] && noLF=""
         echo $noLF `stop_sip ${name}`
+        sleep 3
         echo $noLF `start_sip ${name}`
     else
         if [ "$verbose" != "no" ]; then
-- 
2.11.0