summaryrefslogtreecommitdiff
path: root/net-dns/dnsmasq/files/dnsmasq.logrotate
blob: 75372feef7bea2c0301adc494de3daeb463f6361 (plain)
1
2
3
4
5
6
7
8
/var/log/dnsmasq.log {
	create 640 dnsmasq root
	notifempty
	missingok
	postrotate
		test -r /var/run/dnsmasq.pid && kill -USR2 "$(head -n1 /var/run/dnsmasq.pid)"
	endscript
}