mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-11-12 08:56:00 +01:00
Update dns.py
A previous commit broke nsd restarting. This fixes that change.
This commit is contained in:
1 parent
286a4bd9e7
commit
242da5ace0
1 file changed
+1
-1
@@ -98,7 +98,7 @@ def do_dns_update(env, force=False):
|
||||
|
||||
# Tell nsd to reload changed zone files.
|
||||
if len(updated_domains) > 0:
|
||||
shell('check_call', ["/usr/sbin/nsd-control", "reload"])
|
||||
shell('check_call', ["/usr/sbin/service", "nsd", "restart"])
|
||||
|
||||
# Write the OpenDKIM configuration tables for all of the mail domains.
|
||||
from mailconfig import get_mail_domains
|
||||
|
||||
Reference in new issue
Block a user