Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomTurnschuh <36013390+TomTurnschuh@users.noreply.github.com>2018-08-23 08:29:57 +0300
committernachoparker <nacho@ownyourbits.com>2018-08-23 08:29:57 +0300
commit002eb3e25941c1a972d00fd9b7428c4d87df7a99 (patch)
treeed2ceefc6046b930ec30a113da0930bc99c7348c
parentcc4170864cdd2ba6da7f407dd84333acbb80b007 (diff)
fail2ban: Change order in configuration entries (#602)
The email-entry is moved below the option to activate email notifications.
-rw-r--r--etc/ncp-config.d/fail2ban.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/etc/ncp-config.d/fail2ban.sh b/etc/ncp-config.d/fail2ban.sh
index fe7c16ce..b89b411f 100644
--- a/etc/ncp-config.d/fail2ban.sh
+++ b/etc/ncp-config.d/fail2ban.sh
@@ -19,11 +19,13 @@ FINDTIME_=600
# bad attempts before banning an IP
MAXRETRY_=6
-# email to send notifications to
-EMAIL_=optional@email.com
+# Option to activate email notifications
MAILALERTS_=no
+# email to send notifications to
+EMAIL_=optional@email.com
+
DESCRIPTION="Brute force protection for SSH and NextCloud"
install()