From: Tollef Fog Heen Date: Wed, 27 Jun 2012 19:54:14 +0000 (+0200) Subject: Only mail on error X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=a0ae58f07e1d5e2ed987ef4c50e559534796e300;p=mirror%2Fdsa-puppet.git Only mail on error --- diff --git a/modules/bacula/templates/bacula-dir.conf.erb b/modules/bacula/templates/bacula-dir.conf.erb index 862cb6a3a..34d6c99d4 100644 --- a/modules/bacula/templates/bacula-dir.conf.erb +++ b/modules/bacula/templates/bacula-dir.conf.erb @@ -111,7 +111,7 @@ Messages { Name = Standard mailcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula: %t %e of %c %l\" %r" operatorcommand = "/usr/lib/bacula/bsmtp -h localhost -f \"\(Bacula\) %r\" -s \"Bacula: Intervention needed for %j\" %r" - mail = <%= bacula_operator_email %> = all, !skipped + mail on error = <%= bacula_operator_email %> = all, !skipped operator = <%= bacula_operator_email %> = mount console = all, !skipped, !saved append = "/var/lib/bacula/log" = all, !skipped