Browse Source

ensure systemd backend for fail2ban

pull/295/head
Luke Smith 1 year ago
parent
commit
5e81fdb738
No known key found for this signature in database GPG Key ID: 4C50B54A911F6252
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      emailwiz.sh

+ 2
- 0
emailwiz.sh View File

@@ -317,6 +317,8 @@ enabled = true
[dovecot]
enabled = true" > /etc/fail2ban/jail.d/emailwiz.local

sed -i "s|^backend = auto$|backend = systemd|" /etc/fail2ban/jail.conf

# Enable SpamAssassin update cronjob.
sed -i "s|^CRON=0|CRON=1|" /etc/default/spamassassin



Loading…
Cancel
Save