Commit cf7c7c7e authored by Olav Morken's avatar Olav Morken

Update to start/stop dhcpd through systemd

parent 87eda905
......@@ -114,7 +114,7 @@ class Generator(object):
with open(HOSTS_FILE, "w") as f:
f.write(self.generate_hosts(hosts))["/etc/init.d/isc-dhcp-server", "restart"])['systemctl', 'restart', 'isc-dhcp-server'])
return index
def main(self):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment