]> git.koha-community.org Git - koha.git/commit
Bug 13937: (RM follow-up) Set working directory for daemon mode.
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 15 Oct 2019 12:45:13 +0000 (13:45 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 15 Oct 2019 12:48:28 +0000 (13:48 +0100)
commit82abbb29f9b660533966b358554d854cc157f4b9
tree50f65e5e2a70c310327177e769bff4c908272286
parent19fbc1cfa295edc0ff7e8801dd8a7026f2d75638
Bug 13937: (RM follow-up) Set working directory for daemon mode.

When running as a daemon under Net::Z3950::SimpleServer YAZ requires a
little help to know where it's "working directory" is located so
relative paths in config files may resolve correctly.

This patch passes the working directory as prescribed on
https://software.indexdata.com/yaz/doc/server.invocation.html such that
the resolution of the cql2rpn filepath works as expected in tests.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/Z3950Responder.pm