[Koha-bugs] [Bug 19610] New: koha-common.logrotate should use copytruncate
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sun Nov 12 04:44:20 CET 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19610
Bug ID: 19610
Summary: koha-common.logrotate should use copytruncate
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Packaging
Assignee: koha-bugs at lists.koha-community.org
Reporter: tomascohen at gmail.com
QA Contact: testopia at bugs.koha-community.org
CC: mirko at abunchofthings.net
Both bug 15713 and bug 16138 introduce service restarts when log rotation
happens. This is done:
- Stop services (plack and zebra)
- Rotate the log file
- Start services (plack and zebra)
This can be avoided by using the 'copytruncate' directive in the logrotate
configuration [1]
[1] Search for 'copytruncate' here https://linux.die.net/man/8/logrotate
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list