If for some reason dnsmasq.log does not exist anymore logrotate will create it with nobody as owner. This will prevent dnsmasq deamon from logging to that file.

Signed-off-by: Daan Hoogland <daan@onecht.net>
This commit is contained in:
Joris van Lieshout 2014-05-21 17:10:07 +02:00 committed by Daan Hoogland
parent 11f532bbec
commit c54ce3cafb

View File

@ -8,6 +8,6 @@
postrotate
[ ! -f /var/run/dnsmasq/dnsmasq.pid ] || kill -USR2 `cat /var/run/dnsmasq/dnsmasq.pid`
endscript
create 0640 nobody root
create 0640 dnsmasq root
}