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:
authornachoparker <nacho@ownyourbits.com>2017-05-23 19:37:15 +0300
committernachoparker <nacho@ownyourbits.com>2017-05-23 19:44:47 +0300
commit06423bf4ae86ec695d4dcde482f1f316a79e5cd6 (patch)
tree94bfd8f1fbf0f7e2b35c0866137b0245fe3d9e11 /etc/nextcloudpi-config.d/fail2ban.sh
parent0479dbbea887698f0632967ed28e05a8d7d78405 (diff)
if ACTIVE=yes by default, launch configure for that script on updatev0.11.1
Diffstat (limited to 'etc/nextcloudpi-config.d/fail2ban.sh')
-rw-r--r--etc/nextcloudpi-config.d/fail2ban.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/nextcloudpi-config.d/fail2ban.sh b/etc/nextcloudpi-config.d/fail2ban.sh
index 0bd007d3..91085e93 100644
--- a/etc/nextcloudpi-config.d/fail2ban.sh
+++ b/etc/nextcloudpi-config.d/fail2ban.sh
@@ -39,7 +39,7 @@ install()
configure()
{
- [[ $ACTIVE_ == "no" ]] && { service fail2ban stop; update-rc.d fail2ban disable; return; }
+ [[ $ACTIVE_ != "yes" ]] && { service fail2ban stop; update-rc.d fail2ban disable; return; }
touch /var/www/nextcloud/data/nextcloud.log
chown -R www-data /var/www/nextcloud/data