Skip to content

Instantly share code, notes, and snippets.

@jaka
Created August 21, 2016 23:00
Show Gist options
  • Save jaka/d4a095838ce6ab6ca57b2418741f99ab to your computer and use it in GitHub Desktop.
Save jaka/d4a095838ce6ab6ca57b2418741f99ab to your computer and use it in GitHub Desktop.
/var/log/dnsmasq/dnsmasq.log {
daily
rotate 30
compress
delaycompress
missingok
notifempty
postrotate
[ -r /var/run/dnsmasq/dnsmasq.pid ] && kill -USR2 `cat /var/run/dnsmasq/dnsmasq.pid`
endscript
create 640 dnsmasq root
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment