Bug 17076 - Format fines in patron search results table
[koha.git] / debian / koha-common.logrotate
blob5b6663a7465cbbe19dd84a8b8cdbfbe8478afe1c
1 # Rotate log files for all Koha instances.
3 /var/log/koha/*/*.log {
4     rotate 5
5     weekly
6     missingok
7     compress
8     delaycompress
9     notifempty
10     sharedscripts
11     prerotate
12         /usr/sbin/koha-stop-zebra $(koha-list --enabled) > /dev/null
13         /usr/sbin/koha-plack --stop --quiet $(koha-list --enabled --plack) > /dev/null
14     endscript
15     postrotate
16         /etc/init.d/apache2 reload > /dev/null
17         /usr/sbin/koha-plack --start --quiet $(koha-list --enabled --plack) > /dev/null
18         /usr/sbin/koha-start-zebra $(koha-list --enabled) > /dev/null
19     endscript