Skip to content

Commit

Permalink
chore/nextcloud: move nextcloud log to /data/logs
Browse files Browse the repository at this point in the history
  • Loading branch information
chrootlogin committed Oct 27, 2024
1 parent 5f72fbb commit b9e641a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nextcloud/root/docker-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fi
echo "Preparing environment..."

# Make sure additional directories exist
mkdir -p /data/config /data/data /data/tmp /data/userapps /tmp/sessions /tmp/config
mkdir -p /data/config /data/data /data/logs /data/tmp /data/userapps /tmp/sessions /tmp/config

# Build nextcloud php config
envsubst < /opt/nextcloud.install/nextcloud.ini > /tmp/config/php.nextcloud.ini
Expand Down
2 changes: 1 addition & 1 deletion nextcloud/root/opt/nextcloud.install/docker.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
),
),
'log_type' => 'file',
'logfile' => '/data/nextcloud.log',
'logfile' => '/data/logs/nextcloud.log',
'loglevel' => 3,
'logdateformat' => 'F d, Y H:i:s',
'upgrade.disable-web' => true,
Expand Down

0 comments on commit b9e641a

Please sign in to comment.