weizhouapache commented on a change in pull request #3808: reload dnsmasq 
instead of restart when adding new rules
URL: https://github.com/apache/cloudstack/pull/3808#discussion_r367121749
 
 

 ##########
 File path: systemvm/debian/opt/cloud/bin/cs/CsDhcp.py
 ##########
 @@ -69,7 +69,7 @@ def process(self):
 
         if not self.cl.is_redundant() or self.cl.is_master():
             if restart_dnsmasq:
-                CsHelper.service("dnsmasq", "restart")
+                CsHelper.service("dnsmasq", "reload")
 
 Review comment:
   @andrijapanicsb 
   "reload" works only if the service is started.
   this is why we have line 74 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to