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

(-)a/debian/scripts/koha-z3950-responder (-1 / +3 lines)
Lines 110-122 start_z3950() Link Here
110
    if ! is_z3950_running ${instancename}; then
110
    if ! is_z3950_running ${instancename}; then
111
        export KOHA_CONF="/etc/koha/sites/${instancename}/koha-conf.xml"
111
        export KOHA_CONF="/etc/koha/sites/${instancename}/koha-conf.xml"
112
112
113
        Z3950_ADDITIONAL_OPTS="$( xmlstarlet sel -t -v 'yazgfs/config/z3950_responder_options' $KOHA_CONF )"
114
113
        log_daemon_msg "Starting Z39.50/SRU daemon for ${instancename}"
115
        log_daemon_msg "Starting Z39.50/SRU daemon for ${instancename}"
114
116
115
        # Change to the instance's user dir
117
        # Change to the instance's user dir
116
        current_dir=$(pwd)
118
        current_dir=$(pwd)
117
        eval cd ~$instance_user
119
        eval cd ~$instance_user
118
120
119
        if ${Z3950RESPONDER} ${Z3950OPTS}; then
121
        if ${Z3950RESPONDER} ${Z3950_ADDITIONAL_OPTS} ${Z3950OPTS}; then
120
            log_end_msg 0
122
            log_end_msg 0
121
        else
123
        else
122
            log_end_msg 1
124
            log_end_msg 1
(-)a/etc/koha-conf.xml (-1 / +5 lines)
Lines 281-285 Link Here
281
     <do_not_remove_cookie>KohaOpacLanguage</do_not_remove_cookie>
281
     <do_not_remove_cookie>KohaOpacLanguage</do_not_remove_cookie>
282
 -->
282
 -->
283
283
284
 <!-- See z3950_responder.pl for available options. The options -c, -u and -p are already passed automatically by koha-z3950-responder -->
285
 <!--
286
 <z3950_responder_options>--add-item-status k -t 5</z3950_responder_options>
287
 -->
288
284
</config>
289
</config>
285
</yazgfs>
290
</yazgfs>
286
- 

Return to bug 25716