diff options
Diffstat (limited to 'etc/nextcloudpi-config.d/nc-datadir.sh')
-rw-r--r-- | etc/nextcloudpi-config.d/nc-datadir.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/nextcloudpi-config.d/nc-datadir.sh b/etc/nextcloudpi-config.d/nc-datadir.sh index 8aaafe51..9b654628 100644 --- a/etc/nextcloudpi-config.d/nc-datadir.sh +++ b/etc/nextcloudpi-config.d/nc-datadir.sh @@ -88,10 +88,11 @@ configure() sed -i "s|^opcache.file_cache=.*|opcache.file_cache=$DATADIR_/.opcache|" /etc/php/7.0/mods-available/opcache.ini # update fail2ban logpath - sed -i "s|logpath =.*|logpath = $DATADIR_/nextcloud.log|" /etc/fail2ban/jail.conf + sed -i "s|logpath =.*nextcloud.log|logpath = $DATADIR_/nextcloud.log|" /etc/fail2ban/jail.conf # datadir sudo -u www-data php occ config:system:set datadirectory --value="$DATADIR_" + sudo -u www-data php occ config:system:set logfile --value="$DATADIR_/nextcloud.log" sudo -u www-data php occ maintenance:mode --off } |