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

(-)a/debian/koha-common.init (+6 lines)
Lines 70-75 do_start() Link Here
70
    if [ "$USE_INDEXER_DAEMON" = "yes" ]; then
70
    if [ "$USE_INDEXER_DAEMON" = "yes" ]; then
71
        koha-indexer --start --quiet $(koha-list --enabled)
71
        koha-indexer --start --quiet $(koha-list --enabled)
72
    fi
72
    fi
73
74
    koha-es-indexer --start --quiet $(koha-list --enabled --elasticsearcvh)
73
}
75
}
74
76
75
#
77
#
Lines 90-95 do_stop() Link Here
90
    if [ "$USE_INDEXER_DAEMON" = "yes" ]; then
92
    if [ "$USE_INDEXER_DAEMON" = "yes" ]; then
91
        koha-indexer --stop --quiet $(koha-list --enabled)
93
        koha-indexer --stop --quiet $(koha-list --enabled)
92
    fi
94
    fi
95
96
    koha-es-indexer --stop --quiet $(koha-list --enabled --elasticsearcvh)
93
}
97
}
94
98
95
#
99
#
Lines 108-113 do_reload() { Link Here
108
    if [ "$USE_INDEXER_DAEMON" = "yes" ]; then
112
    if [ "$USE_INDEXER_DAEMON" = "yes" ]; then
109
        koha-indexer --restart --quiet $(koha-list --enabled)
113
        koha-indexer --restart --quiet $(koha-list --enabled)
110
    fi
114
    fi
115
116
    koha-es-indexer --restart --quiet $(koha-list --enabled --elasticsearcvh)
111
}
117
}
112
118
113
#
119
#
(-)a/debian/scripts/koha-remove (-1 / +4 lines)
Lines 93-98 eof Link Here
93
    if is_sip_running $name; then
93
    if is_sip_running $name; then
94
        koha-sip --stop $name || /bin/true
94
        koha-sip --stop $name || /bin/true
95
    fi
95
    fi
96
    # Stop the ES indexing daemon if needed
97
    if is_es_indexer_running $name; then
98
        koha-es-indexer --stop $name || /bin/true
99
    fi
96
100
97
    instancefile=$(get_apache_config_for $name)
101
    instancefile=$(get_apache_config_for $name)
98
    le_opacdomain=$(letsencrypt_get_opacdomain_for $name)
102
    le_opacdomain=$(letsencrypt_get_opacdomain_for $name)
99
- 

Return to bug 33108