mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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:
parent
11f532bbec
commit
c54ce3cafb
@ -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
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user