Added step for notes

This commit is contained in:
2021-02-02 22:52:50 +01:00
parent e2c095eb7d
commit 548c0bfc1c

View File

@@ -66,6 +66,17 @@ ipBlackList="$CONFIG_DIR/ip.blacklist"
ipBlackListJail="$CONFIG_JAILS/ip-blacklist.conf"
ipBlackListFilter="$CONFIG_FILTER/ip-blacklist.conf"
step_4_info() { echo "$toolName notes"; }
step_4_alias() { ALIAS="notes"; }
step_4() {
cat <<NOTES_EOF
# Syslog not readable by librenms (https://github.com/fail2ban/fail2ban/issues/2734)
[$toolConfDir/fail2ban.local]
[Definition]
logtarget = SYSLOG[format="%%(name)s[%%(process)d]: %%(levelname)s %%(message)s"]
NOTES_EOF
}
step_20_info() { echo "Install mailserver jail"; }
step_20_alias() { ALIAS="mail"; }
step_20() {