[Koha-bugs] [Bug 13896] New: PID is created in /tmp/ instead of in /var/run/koha/...
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Mar 23 22:51:08 CET 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13896
Bug ID: 13896
Summary: PID is created in /tmp/ instead of in
/var/run/koha/...
Change sponsored?: ---
Product: Koha
Version: 3.18
Hardware: All
OS: Linux
Status: NEW
Severity: trivial
Priority: P5 - low
Component: Packaging
Assignee: koha-bugs at lists.koha-community.org
Reporter: attila at kinali.ch
QA Contact: testopia at bugs.koha-community.org
CC: robin at catalyst.net.nz
The daemon command uses /tmp/ as default directory for creating pid files
unless the directory has been specified explicitly. This affects only the
debian start scripts. The following patch fixes this
--- a/debian/scripts/koha-start-zebra
+++ b/debian/scripts/koha-start-zebra
@@ -40,6 +40,7 @@ start_zebra_instance()
"/var/log/koha/$instancename/zebra-output.log"
daemon \
--name="$instancename-koha-zebra" \
+ --pidfiles="/var/run/koha/$instancename/" \
--errlog="/var/log/koha/$instancename/zebra-error.log" \
--stdout="/var/log/koha/$instancename/zebra.log" \
--output="/var/log/koha/$instancename/zebra-output.log" \
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list