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 |
|