Wait for dnsmasq to finish restart

This commit is contained in:
Boris Schrijver 2016-02-03 16:15:28 +01:00
parent 69e9348900
commit eb9706b655
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ class CsDhcp(CsDataBag):
self.cloud.commit()
# We restart DNSMASQ every time the configure.py is called in order to avoid lease problems.
CsHelper.service("dnsmasq", "restart")
CsHelper.execute2("service dnsmasq restart")
def configure_server(self):
# self.conf.addeq("dhcp-hostsfile=%s" % DHCP_HOSTS)