[Bug 19610] New: koha-common.logrotate should use copytruncate

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Bug 19610] New: koha-common.logrotate should use copytruncate

bugzilla-daemon
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: [hidden email]
          Reporter: [hidden email]
        QA Contact: [hidden email]
                CC: [hidden email]

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.
_______________________________________________
Koha-bugs mailing list
[hidden email]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/