mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-1265: /etc/init.d/dnsmasq puts pid in /var/run/dnsmasq/dnsmasq.pid
logrotate checks /var/run/dnsmasq.pid instead and may not send SIGUSR2 to dnsmasq to start writing to the new log file instead
This commit is contained in:
parent
8652e5f87e
commit
5c077f3413
|
|
@ -6,7 +6,7 @@
|
|||
delaycompress
|
||||
sharedscripts
|
||||
postrotate
|
||||
[ ! -f /var/run/dnsmasq.pid ] || kill -USR2 `cat /var/run/dnsmasq.pid`
|
||||
[ ! -f /var/run/dnsmasq/dnsmasq.pid ] || kill -USR2 `cat /var/run/dnsmasq/dnsmasq.pid`
|
||||
endscript
|
||||
create 0640 nobody root
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue