1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-04-03 21:47:22 +02:00

attempts to reduce unnecessary dns update messages

This commit is contained in:
KiekerJan
2022-04-03 16:37:51 +02:00
parent a4b6b15c14
commit 7ac4b412b0
4 changed files with 30 additions and 4 deletions

View File

@@ -56,7 +56,7 @@ def run_checks(rounded_values, env, output, pool, domains_to_check=None):
# clear unbound's DNS cache so our DNS checks are up to date
# (ignore errors; if unbound isn't running we'd already report
# that in run_services checks.)
shell('check_call', ["/usr/sbin/unbound-control", "reload"], trap=True)
shell('check_call', ["/usr/sbin/unbound-control", "reload"], trap=True, capture_stdout=False)
run_system_checks(rounded_values, env, output)