Introduce a new koha-sip script which use new command style (as koha-plack, etc) to replace old set of SIP commands. Also add an ability to disable SIP.
Created attachment 70458 [details] Bug 19962 - Introduce koha-sip to replace koha-*-sip
To test: - Apply this patch - koha-sip --start koha1 => same as koha-start-sip koha1 - koha-sip --stop koha1 => same as koha-stop-sip koha1 - koha-sip --restart koha1 => same as koha-stop-sip koha1 && koha-start-sip koha1 - koha-sip --enable koha1 => same as koha-enable-sip koha1 - koha-sip --disable koha1 => new, move SIP config file Note: - stop use start-stop-daemon (same as koha-plack) to make sure it really stop - enable and disable is a bit different from koha-plack. It will continue even if some instances are already enabled (or disabled). In contrast, koha-plack --enable will just stop at the instance that was already enabled without processing the following instances.
Created attachment 70459 [details] [review] Bug 19962 - Introduce koha-sip to replace koha-*-sip
A koha-sip script has already been pushed to master as part of bug 18562. *** This bug has been marked as a duplicate of bug 18562 ***