Skip to content

Commit 2dff2a8

Browse files
committed
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
1 parent 0be3e0b commit 2dff2a8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • patches/systemvm/debian/config/etc/logrotate.d

‎patches/systemvm/debian/config/etc/logrotate.d/dnsmasq‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
delaycompress
77
sharedscripts
88
postrotate
9-
[ ! -f /var/run/dnsmasq.pid ] || kill -USR2 `cat /var/run/dnsmasq.pid`
9+
[ ! -f /var/run/dnsmasq/dnsmasq.pid ] || kill -USR2 `cat /var/run/dnsmasq/dnsmasq.pid`
1010
endscript
1111
create 0640 nobody root
1212
}

0 commit comments

Comments
 (0)