about summary refs log tree commit diff stats
path: root/tools/conf/etc/logrotate.d/dnsmasq
blob: 3151ddca200fe3820c4b57726601e5d3f9072388 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
/var/log/dnsmasq {
    weekly
    create 0644 root root
    rotate 5
    sharedscripts
    postrotate
    if [ -f /var/run/syslog-ng.pid ]; then \
    	kill -HUP `cat /var/run/syslog-ng.pid`; \
    fi;
    endscript
}