@@ -, +, @@
etc/z3950/config.xml
---
debian/scripts/koha-z3950-responder | 4 +++-
etc/koha-conf.xml | 5 -----
etc/z3950/config.xml | 5 +++++
3 files changed, 8 insertions(+), 6 deletions(-)
--- a/debian/scripts/koha-z3950-responder
+++ a/debian/scripts/koha-z3950-responder
@@ -110,7 +110,9 @@ start_z3950()
if ! is_z3950_running ${instancename}; then
export KOHA_CONF="/etc/koha/sites/${instancename}/koha-conf.xml"
- Z3950_ADDITIONAL_OPTS="$( xmlstarlet sel -t -v 'yazgfs/config/z3950_responder_options' $KOHA_CONF || true )"
+ if [[ ! $Z3950_ADDITIONAL_OPTS ]]; then
+ Z3950_ADDITIONAL_OPTS="$( xmlstarlet sel -t -v 'yazgfs/config/z3950_responder_options' "$CONFIGDIR/config.xml" || true )"
+ fi
log_daemon_msg "Starting Z39.50/SRU daemon for ${instancename}"
--- a/etc/koha-conf.xml
+++ a/etc/koha-conf.xml
@@ -281,10 +281,5 @@
KohaOpacLanguage
-->
-
-
-
--- a/etc/z3950/config.xml
+++ a/etc/z3950/config.xml
@@ -1,4 +1,9 @@
+
+
+
tcp:@:2100
pqf.properties
--