@@ -, +, @@ koha-*-sip - Run: $ perl misc4dev/cp_debian_files.pl $ sudo service koha-common stop $ sudo service koha-common start $ sudo service koha-common restart $ sudo koha-create --create-db test $ sudo koha-sip --enable test $ sudo koha-sip --start test $ sudo koha-disable test - Sign off :-D --- debian/docs/koha-common.xml | 6 ++++++ debian/koha-common.init | 9 ++++----- debian/scripts/koha-disable | 2 +- 3 files changed, 11 insertions(+), 6 deletions(-) --- a/debian/docs/koha-common.xml +++ a/debian/docs/koha-common.xml @@ -174,6 +174,12 @@ SIP2-related + + + + Manage the SIP server for named Koha instances. + + --- a/debian/koha-common.init +++ a/debian/koha-common.init @@ -10,7 +10,7 @@ # if enabled, start: # - a Zebra server (using koha-zebra) # - a Plack server (using koha-plack) -# - a SIP server (using koha-start-sip) +# - a SIP server (using koha-sip) ### END INIT INFO # Author: Lars Wirzenius @@ -58,7 +58,7 @@ do_start() # We insure all required directories exist, including disabled ones. koha-create-dirs $(koha-list) koha-zebra --start $(koha-list --enabled) - koha-start-sip $(koha-list --enabled) + koha-sip --start $(koha-list --enabled --sip) koha-plack --start $(koha-list --enabled --plack) if [ "$USE_INDEXER_DAEMON" = "yes" ]; then @@ -73,7 +73,7 @@ do_stop() { # We stop everything, including disabled ones. koha-zebra --stop $(koha-list) || true - koha-stop-sip $(koha-list) || true + koha-sip --stop $(koha-list --sip) koha-plack --stop --quiet $(koha-list --enabled --plack) if [ "$USE_INDEXER_DAEMON" = "yes" ]; then @@ -86,8 +86,7 @@ do_stop() # do_reload() { koha-zebra --restart $(koha-list --enabled) - koha-stop-sip $(koha-list) || true - koha-start-sip $(koha-list --enabled) + koha-sip --restart $(koha-list --enabled --sip) koha-plack --restart --quiet $(koha-list --enabled --plack) if [ "$USE_INDEXER_DAEMON" = "yes" ]; then --- a/debian/scripts/koha-disable +++ a/debian/scripts/koha-disable @@ -64,7 +64,7 @@ do if [ "$RET" = 0 ]; then restart_apache="yes" if is_sip_enabled $name; then - koha-stop-sip $name + koha-sip --stop $name fi if is_zebra_running $name; then koha-zebra --stop $name --