View | Details | Raw Unified | Return to bug 22235
Collapse All | Expand All

(-)a/debian/docs/koha-common.xml (+6 lines)
Lines 174-179 Link Here
174
174
175
    <refsect2><title>SIP2-related</title>
175
    <refsect2><title>SIP2-related</title>
176
    <variablelist>
176
    <variablelist>
177
      <varlistentry>
178
        <term><option>koha-sip</option></term>
179
        <listitem>
180
          <para>Manage the SIP server for named Koha instances.</para>
181
        </listitem>
182
      </varlistentry>
177
183
178
      <varlistentry>
184
      <varlistentry>
179
        <term><option>koha-enable-sip</option></term>
185
        <term><option>koha-enable-sip</option></term>
(-)a/debian/koha-common.init (-5 / +4 lines)
Lines 10-16 Link Here
10
#                    if enabled, start:
10
#                    if enabled, start:
11
#                      - a Zebra server (using koha-zebra)
11
#                      - a Zebra server (using koha-zebra)
12
#                      - a Plack server (using koha-plack)
12
#                      - a Plack server (using koha-plack)
13
#                      - a SIP server   (using koha-start-sip)
13
#                      - a SIP server   (using koha-sip)
14
### END INIT INFO
14
### END INIT INFO
15
15
16
# Author: Lars Wirzenius <lars@catalyst.net.nz>
16
# Author: Lars Wirzenius <lars@catalyst.net.nz>
Lines 58-64 do_start() Link Here
58
    # We insure all required directories exist, including disabled ones.
58
    # We insure all required directories exist, including disabled ones.
59
    koha-create-dirs $(koha-list)
59
    koha-create-dirs $(koha-list)
60
    koha-zebra --start $(koha-list --enabled)
60
    koha-zebra --start $(koha-list --enabled)
61
    koha-start-sip $(koha-list --enabled)
61
    koha-sip   --start $(koha-list --enabled --sip)
62
    koha-plack --start $(koha-list --enabled --plack)
62
    koha-plack --start $(koha-list --enabled --plack)
63
63
64
    if [ "$USE_INDEXER_DAEMON" = "yes" ]; then
64
    if [ "$USE_INDEXER_DAEMON" = "yes" ]; then
Lines 73-79 do_stop() Link Here
73
{
73
{
74
    # We stop everything, including disabled ones.
74
    # We stop everything, including disabled ones.
75
    koha-zebra --stop $(koha-list) || true
75
    koha-zebra --stop $(koha-list) || true
76
    koha-stop-sip $(koha-list) || true
76
    koha-sip   --stop $(koha-list --sip)
77
    koha-plack --stop --quiet $(koha-list --enabled --plack)
77
    koha-plack --stop --quiet $(koha-list --enabled --plack)
78
78
79
    if [ "$USE_INDEXER_DAEMON" = "yes" ]; then
79
    if [ "$USE_INDEXER_DAEMON" = "yes" ]; then
Lines 86-93 do_stop() Link Here
86
#
86
#
87
do_reload() {
87
do_reload() {
88
    koha-zebra --restart $(koha-list --enabled)
88
    koha-zebra --restart $(koha-list --enabled)
89
    koha-stop-sip $(koha-list) || true
89
    koha-sip   --restart $(koha-list --enabled --sip)
90
    koha-start-sip $(koha-list --enabled)
91
    koha-plack --restart --quiet $(koha-list --enabled --plack)
90
    koha-plack --restart --quiet $(koha-list --enabled --plack)
92
91
93
    if [ "$USE_INDEXER_DAEMON" = "yes" ]; then
92
    if [ "$USE_INDEXER_DAEMON" = "yes" ]; then
(-)a/debian/scripts/koha-disable (-2 / +1 lines)
Lines 64-70 do Link Here
64
        if [ "$RET" = 0 ]; then
64
        if [ "$RET" = 0 ]; then
65
            restart_apache="yes"
65
            restart_apache="yes"
66
            if is_sip_enabled $name; then
66
            if is_sip_enabled $name; then
67
                koha-stop-sip $name
67
                koha-sip --stop $name
68
            fi
68
            fi
69
            if is_zebra_running $name; then
69
            if is_zebra_running $name; then
70
                koha-zebra --stop $name
70
                koha-zebra --stop $name
71
- 

Return to bug 22235