[Koha-bugs] [Bug 24991] make restart sip start sip if it isn't running

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Feb 2 10:06:32 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24991

Jonathan Druart <jonathan.druart+koha at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #129807|0                           |1
        is obsolete|                            |

--- Comment #7 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 130059
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130059&action=edit
Bug 24991: make koha-sip --restart start sip if it is not already running.

To test:

- make sure SIP is enabled
 sudo koha-sip --enable inst
- make sure SIP is running
 sudo koha-sip --start inst
 sudo koha-sip --status inst
- restart SIP, make sure it does this normally
 sudo koha-sip --restart inst
- stop SIP, make sure it does this normally
 sudo koha-sip --stop inst
- make sure SIP is not running (wild scenario: oomkiller or similar has
  killed this or some other thing has happened)
 sudo koha-sip --status inst
- restart sip, make sure it starts SIP instead of silently failing
 sudo koha-sip --restart inst
- check SIP is now running, or that there is an error message if it
  can't start
 sudo koha-sip --status inst

Signed-off-by: Owen Leonard <oleonard at myacpl.org>

JD Amended patch: tidy the whole block

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list