summaryrefslogtreecommitdiff
path: root/net-analyzer/munin/files/logrotate.d-munin.3
blob: 2d3b6829762b25c5f5085909a11f2249f92c8066 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/var/log/munin/munin-node.log {
	daily
	missingok
	rotate 7
	compress
	delaycompress
	copytruncate
	notifempty
	create 640 root root
	postrotate
		test -e /run/openrc/softlevel && /etc/init.d/munin-node restart 1>/dev/null || true
		test -e /run/systemd/system && systemctl restart munin-node 1>/dev/null || true
	endscript
}

/var/log/munin/munin-update.log /var/log/munin/munin-graph.log /var/log/munin/munin-html.log /var/log/munin/munin-limits.log {
	daily
	missingok
	rotate 7
	compress
	delaycompress
	notifempty
	nocreate
}

/var/log/munin/munin-cgi-graph.log /var/log/munin/munin-cgi-html.log {
	daily
	missingok
	rotate 7
	compress
	delaycompress
	notifempty
	create 640 @CGIUSER@
}