From 193d89b0e4f5c3381dbf394c24320364d9abf01c Mon Sep 17 00:00:00 2001 From: nachoparker Date: Mon, 14 Jan 2019 21:14:35 -0700 Subject: [PATCH] nc-datadir: fix fail2ban logpath --- bin/ncp/CONFIG/nc-datadir.sh | 2 +- changelog.md | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/ncp/CONFIG/nc-datadir.sh b/bin/ncp/CONFIG/nc-datadir.sh index 1302d3df8..918dcc3fd 100644 --- a/bin/ncp/CONFIG/nc-datadir.sh +++ b/bin/ncp/CONFIG/nc-datadir.sh @@ -97,7 +97,7 @@ configure() sed -i "s|^opcache.file_cache=.*|opcache.file_cache=$DATADIR/.opcache|" /etc/php/${PHPVER}/mods-available/opcache.ini # update fail2ban logpath - sed -i "s|logpath =.*nextcloud.log|logpath = $DATADIR/nextcloud.log|" /etc/fail2ban/jail.conf + sed -i "s|logpath =.*nextcloud.log|logpath = $DATADIR/nextcloud.log|" /etc/fail2ban/jail.local # datadir sudo -u www-data php occ config:system:set datadirectory --value="$DATADIR" diff --git a/changelog.md b/changelog.md index 884509b9b..e2490367d 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,7 @@ -[v1.3.7](https://github.com/nextcloud/nextcloudpi/commit/05bfc13) (2019-01-14) ncp-web: allow private IPv6 addresses +[v1.3.8](https://github.com/nextcloud/nextcloudpi/commit/97c35c4) (2019-01-14) nc-datadir: fix fail2ban logpath + +[v1.3.7](https://github.com/nextcloud/nextcloudpi/commit/2ac9b8b) (2019-01-14) ncp-web: allow private IPv6 addresses [v1.3.6](https://github.com/nextcloud/nextcloudpi/commit/34cba9f) (2019-01-14) nc-automount: add delays to some services in a persistent way