Explorar o código

fixed smtp_use_tls and smtp_alway_send parameter value overrides

Michael Lewkowski %!s(int64=8) %!d(string=hai) anos
pai
achega
a1fe06d238
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      start-munin.sh

+ 2 - 2
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}"