summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Lewkowski <michael@lewkowski.de>2016-06-01 08:58:24 +0200
committerMichael Lewkowski <michael@lewkowski.de>2016-06-01 08:58:24 +0200
commita1fe06d2383628d71e265acc9be544159a413cc1 (patch)
treece78d0715d427e7c75aa3a5a339d99beeea1cf42
parent6a64d0d18ab0299e4c5821b75090da506bcfeaec (diff)
downloadmunin-a1fe06d2383628d71e265acc9be544159a413cc1.tar.gz
munin-a1fe06d2383628d71e265acc9be544159a413cc1.tar.bz2
munin-a1fe06d2383628d71e265acc9be544159a413cc1.tar.xz
munin-a1fe06d2383628d71e265acc9be544159a413cc1.zip
fixed smtp_use_tls and smtp_alway_send parameter value overrides
-rw-r--r--start-munin.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/start-munin.sh b/start-munin.sh
index e994128..a7209f7 100644
--- a/start-munin.sh
+++ b/start-munin.sh
@@ -4,8 +4,8 @@ SNMP_NODES=${SNMP_NODES:-}
MUNIN_USER=${MUNIN_USER:-user}
MUNIN_PASSWORD=${MUNIN_PASSWORD:-password}
MAIL_CONF_PATH='/var/lib/munin/.mailrc'
-SMTP_USE_TLS=false
-SMTP_ALWAYS_SEND=true
+SMTP_USE_TLS=${SMTP_USE_TLS:-false}
+SMTP_ALWAYS_SEND=${SMTP_ALWAYS_SEND:-true}
truncate -s 0 "${MAIL_CONF_PATH}"