Bug 40901: (follow-up) Use --config-dir for z3950_responder.pl
Documentation is wrong, -c doesn't work for z3950_responder.pl Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
This commit is contained in:
parent
c82e55a5a5
commit
8dccb4cc37
|
|
@ -1247,7 +1247,7 @@ _sysv_start_z3950()
|
|||
warn "Not a test system, disabling debugger"
|
||||
fi
|
||||
|
||||
Z3950OPTS="-c ${CONFIGDIR} \
|
||||
Z3950OPTS="--config-dir ${CONFIGDIR} \
|
||||
-u ${instance_user} \
|
||||
-p ${PIDFILE} ${daemonize} ${logging}"
|
||||
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ ExecStartPre=+/usr/sbin/koha-generate-env z3950 %i
|
|||
EnvironmentFile=-/run/koha/%i/z3950.env
|
||||
ExecStart=/usr/share/koha/bin/z3950_responder.pl \
|
||||
${Z3950_ADDITIONAL_OPTS} \
|
||||
-c ${Z3950_CONFIGDIR} \
|
||||
--config-dir ${Z3950_CONFIGDIR} \
|
||||
-u %i-koha \
|
||||
-p /var/run/koha/%i/z3950-responder.pid \
|
||||
-D \
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ use Koha::Z3950Responder;
|
|||
=head1 SYNOPSIS
|
||||
|
||||
z3950_responder.pl [-h|--help] [--man] [-a <pdufile>] [-v <loglevel>] [-l <logfile>] [-u <user>]
|
||||
[-c <config>] [-t <minutes>] [-k <kilobytes>] [-d <daemon>] [-p <pidfile>]
|
||||
[--config-dir <config>] [-t <minutes>] [-k <kilobytes>] [-d <daemon>] [-p <pidfile>]
|
||||
[-C certfile] [-zKiDST1] [-m <time-format>] [-w <directory>] [--debug]
|
||||
[--add-item-status=SUBFIELD] [--prefetch=NUM_RECORDS] [--config-dir=<directory>]
|
||||
[<listener-addr>... ]
|
||||
|
|
|
|||
Loading…
Reference in New Issue