cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h...@apache.org
Subject git commit: updated refs/heads/master to c9c68e1
Date Sun, 07 Apr 2013 19:59:43 GMT
Updated Branches:
  refs/heads/master 7de2b4b30 -> c9c68e192


Replace restart with SIGHUP

This signal will force the dnsmasq daemon to reload the configuration directly. This is much
faster than restarting the daemon, which result in a much smaller window during which no dns
server is available.

Tested by using the replaced version of edithosts.sh on a running vrouter causing dns problems.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/c9c68e19
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/c9c68e19
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/c9c68e19

Branch: refs/heads/master
Commit: c9c68e19283535266e69a96c57e5bb453d4791d6
Parents: 7de2b4b
Author: Hugo Trippaers <htrippaers@schubergphilis.com>
Authored: Sun Apr 7 21:46:38 2013 +0200
Committer: Hugo Trippaers <htrippaers@schubergphilis.com>
Committed: Sun Apr 7 21:46:38 2013 +0200

----------------------------------------------------------------------
 patches/systemvm/debian/config/root/edithosts.sh |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/c9c68e19/patches/systemvm/debian/config/root/edithosts.sh
----------------------------------------------------------------------
diff --git a/patches/systemvm/debian/config/root/edithosts.sh b/patches/systemvm/debian/config/root/edithosts.sh
index 9f21f20..1f98fbf 100755
--- a/patches/systemvm/debian/config/root/edithosts.sh
+++ b/patches/systemvm/debian/config/root/edithosts.sh
@@ -200,7 +200,8 @@ fi
 pid=$(pidof dnsmasq)
 if [ "$pid" != "" ]
 then
-  service dnsmasq restart
+  #service dnsmasq restart
+  kill -HUP $pid
 else
   if [ $no_redundant -eq 1 ]
   then


Mime
View raw message