[CODE] ddns: add option to silence all output

This commit is contained in:
Jannik Beyerstedt 2019-12-31 21:32:44 +01:00
parent 4784804b96
commit f82bd4edf2
2 changed files with 4 additions and 1 deletions

View file

@ -21,4 +21,4 @@
name: "{{ ddns_domain }} dynDNS"
minute: "*/5"
hour: "*"
job: "/usr/local/bin/ddns-hosts.sh > /dev/null"
job: "/usr/local/bin/ddns-hosts.sh > /dev/null{% if ddns_silence is defined and ddns_silence is sameas true %} 2>&1{% endif %}"