diff --git a/src/opnsense/scripts/dns/unbound_dhcpd.py b/src/opnsense/scripts/dns/unbound_dhcpd.py index 51a25576c..9e1732f82 100755 --- a/src/opnsense/scripts/dns/unbound_dhcpd.py +++ b/src/opnsense/scripts/dns/unbound_dhcpd.py @@ -176,3 +176,4 @@ if __name__ == '__main__': syslog.syslog(syslog.LOG_NOTICE, 'daemonize unbound dhcpd watcher.') cmd = lambda : run_watcher(target_filename=inputargs.target, domain=inputargs.domain) daemon = Daemonize(app="unbound_dhcpd", pid=inputargs.pid, action=cmd) + daemon.start()