Updated Branches: refs/heads/4.1 d4d73bfc3 -> 4d8d9c636
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 Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/4d8d9c63 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/4d8d9c63 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/4d8d9c63 Branch: refs/heads/4.1 Commit: 4d8d9c6368eee74815d468754567356567674152 Parents: d4d73bf Author: Chiradeep Vittal <[email protected]> Authored: Wed Feb 13 14:33:41 2013 -0800 Committer: Chiradeep Vittal <[email protected]> Committed: Wed Feb 13 14:37:52 2013 -0800 ---------------------------------------------------------------------- .../systemvm/debian/config/etc/logrotate.d/dnsmasq | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/4d8d9c63/patches/systemvm/debian/config/etc/logrotate.d/dnsmasq ---------------------------------------------------------------------- diff --git a/patches/systemvm/debian/config/etc/logrotate.d/dnsmasq b/patches/systemvm/debian/config/etc/logrotate.d/dnsmasq index f448420..838415d3 100644 --- a/patches/systemvm/debian/config/etc/logrotate.d/dnsmasq +++ b/patches/systemvm/debian/config/etc/logrotate.d/dnsmasq @@ -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 }
