koha-docker/files/etc/logrotate.d/koha-core
Theodoros Grammenos c16804a913
Lots of improvements and simplifications.
* Collect all logs under the /var/log/koha directory.
* Setup logrotate
* Use a static instance name, leading to simpler configuration.
2023-02-17 21:06:42 +02:00

15 lines
268 B
Plaintext

/var/log/koha/*/*.log {
rotate 5
weekly
missingok
copytruncate
compress
delaycompress
notifempty
sharedscripts
postrotate
/command/s6-svc -h /run/service/apache2
/command/s6-svc -r /run/service/plack
endscript
}