diff --git a/conf/fail2ban/jails.conf b/conf/fail2ban/jails.conf index 7cc90975..0146b64c 100644 --- a/conf/fail2ban/jails.conf +++ b/conf/fail2ban/jails.conf @@ -36,7 +36,7 @@ port = http,https filter = miab-owncloud logpath = STORAGE_ROOT/owncloud/owncloud.log maxretry = 20 -findtime = 30 +findtime = 120 [miab-postfix587] enabled = true diff --git a/setup/owncloud.sh b/setup/owncloud.sh index eb12d5c9..e8d1df1f 100755 --- a/setup/owncloud.sh +++ b/setup/owncloud.sh @@ -126,6 +126,7 @@ if [ ! -f $STORAGE_ROOT/owncloud/owncloud.db ]; then 'mail_from_address' => 'owncloud', 'mail_domain' => '$PRIMARY_HOSTNAME', 'logtimezone' => '$TIMEZONE', + 'logdateformat' => 'Y-m-d H:i:s', ); ?> EOF @@ -179,6 +180,7 @@ include("$STORAGE_ROOT/owncloud/config.php"); \$CONFIG['mail_from_address'] = 'administrator'; # just the local part, matches our master administrator address \$CONFIG['logtimezone'] = '$TIMEZONE'; +\$CONFIG['logdateformat'] = 'Y-m-d H:i:s'; echo "