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

(-)a/debian/scripts/koha-z3950-responder (-1 / +3 lines)
Lines 110-116 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 || true )"
113
        if [[ ! $Z3950_ADDITIONAL_OPTS ]]; then
114
            Z3950_ADDITIONAL_OPTS="$( xmlstarlet sel -t -v 'yazgfs/config/z3950_responder_options' "$CONFIGDIR/config.xml" || true )"
115
        fi
114
116
115
        log_daemon_msg "Starting Z39.50/SRU daemon for ${instancename}"
117
        log_daemon_msg "Starting Z39.50/SRU daemon for ${instancename}"
116
118
(-)a/etc/koha-conf.xml (-5 lines)
Lines 281-290 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
289
</config>
284
</config>
290
</yazgfs>
285
</yazgfs>
(-)a/etc/z3950/config.xml (-1 / +5 lines)
Lines 1-4 Link Here
1
<yazgfs>
1
<yazgfs>
2
 <!-- See z3950_responder.pl for available options. The options -c, -u and -p are already passed automatically by koha-z3950-responder -->
3
 <!--
4
 <z3950_responder_options>--add-item-status k -t 5</z3950_responder_options>
5
 -->
6
2
  <listen id="public">tcp:@:2100</listen>
7
  <listen id="public">tcp:@:2100</listen>
3
  <server>
8
  <server>
4
    <cql2rpn>pqf.properties</cql2rpn>
9
    <cql2rpn>pqf.properties</cql2rpn>
5
- 

Return to bug 25716