ansible-pilote/templates/bacula/conf.d/messages.conf.j2
Julien Riou 096a3e0540
Initial commit
Signed-off-by: Julien Riou <julien@riou.xyz>
2024-04-27 15:21:55 +02:00

22 lines
808 B
Django/Jinja

Messages {
Name = Standard
{% if bacula_email_address is defined %}
mailcommand = "/usr/bin/mail -r \"Bacula \<%r\>\" -s \"Bacula: %t %e of %c %l\" %r"
operatorcommand = "/usr/bin/mail -r \"Bacula \<%r\>\" -s \"Bacula: Intervention needed for %j\" %r"
mail on error = {{ bacula_email_address }} = all, !skipped, !terminate
{% endif %}
operator = root = mount
console = all, !skipped, !saved
append = "/var/log/bacula/bacula.log" = all, !skipped
catalog = all
}
Messages {
Name = Daemon
{% if bacula_email_address is defined %}
mailcommand = "/usr/bin/mail -r \"Bacula \<%r\>\" -s \"Bacula daemon message\" %r"
mail on error = {{ bacula_email_address }} = all, !skipped, !terminate
{% endif %}
console = all, !skipped, !saved
append = "/var/log/bacula/bacula.log" = all, !skipped
}