allow archvsync to trigger snapshot imports
[mirror/dsa-puppet.git] / modules / varnish / files / varnish.logrotate
1 /var/log/varnish/varnish.log {
2   daily
3   rotate 7
4   missingok
5   compress
6   delaycompress
7   missingok
8   postrotate
9     if [ -d /run/systemd/system ]; then
10        systemctl -q is-active varnishlog.service || exit 0
11     fi
12     /usr/sbin/invoke-rc.d varnishlog reload > /dev/null
13   endscript
14 }
15
16 /var/log/varnish/varnishncsa.log {
17   daily
18   rotate 7
19   missingok
20   compress
21   delaycompress
22   missingok
23   postrotate
24     if [ -d /run/systemd/system ]; then
25        systemctl -q is-active varnishncsa.service || exit 0
26     fi
27     /usr/sbin/invoke-rc.d varnishncsa reload > /dev/null
28   endscript
29 }