know if this is a good config:
/var/log/dnsmasq.log {
monthly
missingok
notifempty
maxsize 5M
rotate 14
delaycompress
create 0640 dnsmasq root
sharedscripts
postrotate
[ ! -f /var/run/dnsmasq.pid ] || kill -USR2 `cat /var/run/dnsmasq.pid`
endscript
}
since i mistook the single quote with ` and its hard to reach in my keyboard layout i prefer $(). But everything else looks ok
thanks, maybe I needed a bit less options or different params. If you can think of any changes to be made, please suggest
Обсуждают сегодня