mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2025-04-03 00:07:05 +00:00
Update dns.py
A previous commit broke nsd restarting. This fixes that change.
This commit is contained in:
parent
286a4bd9e7
commit
242da5ace0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user