Kouhei Sutou 2019-05-05 06:34:47 +0900 (Sun, 05 May 2019) Revision: 2f9ff301545be200a30972fece644e24f44b41e5 https://github.com/ranguba/chupa-text-docker/commit/2f9ff301545be200a30972fece644e24f44b41e5 Message: logrotate: split configurations Modified files: etc/logrotate.d/chupa-text Modified: etc/logrotate.d/chupa-text (+19 -1) =================================================================== --- etc/logrotate.d/chupa-text 2019-05-04 14:13:34 +0900 (85d1039) +++ etc/logrotate.d/chupa-text 2019-05-05 06:34:47 +0900 (6e0f6dc) @@ -1,4 +1,22 @@ -/var/log/chupa-text/*/* { +/var/log/chupa-text/rails/*.log { + # Replace these IDs to names + su 1000 1000 + daily + missingok + rotate 365 + compress + delaycompress + notifempty + dateformat .%Y%m%d + dateyesterday + sharedscripts + postrotate + systemctl restart chupa-text + endscript +} + +/var/log/chupa-text/proxy/*.log { + su proxy proxy daily missingok rotate 365 -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20190505/4766714b/attachment-0001.html>