mirror of https://github.com/apache/cloudstack.git
logrotate dnsmasq logs
This commit is contained in:
parent
6f8990f825
commit
5a4d410cdf
|
|
@ -0,0 +1,13 @@
|
|||
/var/log/dnsmasq.log {
|
||||
daily
|
||||
missingok
|
||||
rotate 5
|
||||
notifempty
|
||||
delaycompress
|
||||
sharedscripts
|
||||
postrotate
|
||||
[ ! -f /var/run/dnsmasq.pid ] || kill -USR2 `cat /var/run/dnsmasq.pid`
|
||||
endscript
|
||||
create 0640 dnsmasq dnsmasq
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue