Add configuration tests for dnsmasq, fail2ban, slapd

This commit is contained in:
Alexandre Aubin 2020-09-29 16:24:30 +02:00
parent 452b178d44
commit 6e69df3768

View file

@ -1,5 +1,6 @@
avahi-daemon: {} avahi-daemon: {}
dnsmasq: {} dnsmasq:
test_conf: dnsmasq --test
dovecot: dovecot:
log: [/var/log/mail.log,/var/log/mail.err] log: [/var/log/mail.log,/var/log/mail.err]
needs_exposed_ports: [993] needs_exposed_ports: [993]
@ -7,6 +8,7 @@ dovecot:
fail2ban: fail2ban:
log: /var/log/fail2ban.log log: /var/log/fail2ban.log
category: security category: security
test_conf: fail2ban-server --test
metronome: metronome:
log: [/var/log/metronome/metronome.log,/var/log/metronome/metronome.err] log: [/var/log/metronome/metronome.log,/var/log/metronome/metronome.err]
needs_exposed_ports: [5222, 5269] needs_exposed_ports: [5222, 5269]
@ -37,6 +39,7 @@ rspamd:
category: email category: email
slapd: slapd:
category: database category: database
test_conf: slapd -Tt
ssh: ssh:
log: /var/log/auth.log log: /var/log/auth.log
test_conf: sshd -t test_conf: sshd -t