Lines 86-98
start_z3950()
Link Here
|
86 |
logging="-l /var/log/koha/${instancename}/z3950.log" |
86 |
logging="-l /var/log/koha/${instancename}/z3950.log" |
87 |
|
87 |
|
88 |
Z3950RESPONDER="/usr/bin/perl $KOHA_HOME/$KOHA_BINDIR/z3950_responder.pl" |
88 |
Z3950RESPONDER="/usr/bin/perl $KOHA_HOME/$KOHA_BINDIR/z3950_responder.pl" |
89 |
if [ "$debug_mode" = "yes" ] && is_debug_mode $instancename; then |
89 |
if [ "$debugger" = "yes" ] && is_debug_mode $instancename; then |
90 |
environment="development" |
|
|
91 |
daemonize="" |
90 |
daemonize="" |
92 |
logging="" # remote debugger takes care |
91 |
logging="" # remote debugger takes care |
93 |
Z3950RESPONDER="/usr/bin/perl -d $KOHA_HOME/$KOHA_BINDIR/z3950_responder.pl" |
92 |
Z3950RESPONDER="/usr/bin/perl -d $KOHA_HOME/$KOHA_BINDIR/z3950_responder.pl" |
94 |
elif [ "$debug_mode" = "yes" ]; then |
93 |
elif [ "$debugger" = "yes" ]; then |
95 |
warn "Not a test system, disabling debug mode" |
94 |
warn "Not a test system, disabling debugger" |
96 |
fi |
95 |
fi |
97 |
|
96 |
|
98 |
Z3950OPTS="-c ${CONFIGDIR} \ |
97 |
Z3950OPTS="-c ${CONFIGDIR} \ |
Lines 238-244
set_action()
Link Here
|
238 |
|
237 |
|
239 |
op="" |
238 |
op="" |
240 |
quiet="no" |
239 |
quiet="no" |
241 |
debug_mode="no" |
240 |
debugger="no" |
242 |
debugger_key="" |
241 |
debugger_key="" |
243 |
debugger_location="localhost:9000" |
242 |
debugger_location="localhost:9000" |
244 |
debugger_path="" |
243 |
debugger_path="" |
Lines 268-274
while [ $# -gt 0 ]; do
Link Here
|
268 |
set_action "disable" |
267 |
set_action "disable" |
269 |
shift ;; |
268 |
shift ;; |
270 |
--debugger) |
269 |
--debugger) |
271 |
debug_mode="yes" |
270 |
debugger="yes" |
272 |
shift ;; |
271 |
shift ;; |
273 |
--debugger-key) |
272 |
--debugger-key) |
274 |
debugger_key="$2" |
273 |
debugger_key="$2" |
Lines 296-304
if [ $# -gt 0 ]; then
Link Here
|
296 |
|
295 |
|
297 |
adjust_paths_git_install $name |
296 |
adjust_paths_git_install $name |
298 |
PERL5LIB=$PERL5LIB:$KOHA_HOME/installer:$KOHA_HOME/lib/installer |
297 |
PERL5LIB=$PERL5LIB:$KOHA_HOME/installer:$KOHA_HOME/lib/installer |
299 |
# If debug mode is enabled, add the debugger lib path |
298 |
# If debugger is enabled, add the debugger lib path to PERL5LIB if appropriate |
300 |
# to PERL5LIB if appropriate |
299 |
if [ "$debugger" = "yes" ]; then |
301 |
if [ "$debug_mode" = "yes" ] && is_debug_mode $name; then |
|
|
302 |
if [ "$debugger_path" != "" ]; then |
300 |
if [ "$debugger_path" != "" ]; then |
303 |
PERL5LIB="${debugger_path}":$PERL5LIB |
301 |
PERL5LIB="${debugger_path}":$PERL5LIB |
304 |
fi |
302 |
fi |
305 |
- |
|
|