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.
This commit is contained in:
parent
737f738dc7
commit
c16804a913
33 changed files with 78 additions and 71 deletions
14
files/etc/logrotate.d/koha-core
Normal file
14
files/etc/logrotate.d/koha-core
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
/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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue