From 8fe8a1b311bbd68ddff493372df398c145beb4f9 Mon Sep 17 00:00:00 2001 From: Nikolai R Kristiansen Date: Tue, 26 Jul 2016 13:12:59 +0200 Subject: [PATCH] Fix dhcpd restart --- mdb/management/commands/dhcp-sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mdb/management/commands/dhcp-sync.py b/mdb/management/commands/dhcp-sync.py index ae96fb3..026012b 100644 --- a/mdb/management/commands/dhcp-sync.py +++ b/mdb/management/commands/dhcp-sync.py @@ -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()