1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-15 17:37:22 +01:00

when adding/removing mail addresses also update nginx's config

This commit is contained in:
Joshua Tauberer
2014-07-06 12:16:50 +00:00
parent c8856f107d
commit 49d5561933
4 changed files with 34 additions and 17 deletions

View File

@@ -118,10 +118,10 @@ def do_dns_update(env):
shell('check_call', ["/usr/sbin/service", "opendkim", "restart"])
if len(updated_domains) == 0:
# if nothing was updated (except maybe DKIM), don't show any output
# if nothing was updated (except maybe OpenDKIM's files), don't show any output
return ""
else:
return "updated: " + ",".join(updated_domains) + "\n"
return "updated DNS: " + ",".join(updated_domains) + "\n"
########################################################################