Commit 8fe8a1b3 authored by Nikolai R Kristiansen's avatar Nikolai R Kristiansen
Browse files

Fix dhcpd restart

parent 935e38d2
......@@ -40,7 +40,7 @@ class Command(BaseCommand):
output = options['output'] if options['output'] else sys.stdout
force = options['force']
restart = options['restart']
restart_command = "service isc-dhcp-server restart"
restart_command = "/usr/sbin/service isc-dhcp-server restart"
config = DhcpConfig.objects.filter(name="default").get()
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