Fix dhcpd restart
This commit is contained in:
1 parent
935e38d224
commit
8fe8a1b311
1 file changed
+1
-1
@@ -40,7 +40,7 @@ class Command(BaseCommand):
|
|||||||
output = options['output'] if options['output'] else sys.stdout
|
output = options['output'] if options['output'] else sys.stdout
|
||||||
force = options['force']
|
force = options['force']
|
||||||
restart = options['restart']
|
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()
|
config = DhcpConfig.objects.filter(name="default").get()
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user