Skip to content

Commit

Permalink
Make cache be owned by www-data
Browse files Browse the repository at this point in the history
  • Loading branch information
dgarciabriseno committed Sep 6, 2024
1 parent eb678e3 commit ad2759c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compose/scripts/api_startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ set -e
READY_FILE=/tmp/container_ready
rm -f $READY_FILE

mkdir -p /var/www/helioviewer.org/cache/tiles
chmod 777 /var/www/helioviewer.org/cache/tiles
chown www-data:www-data /var/www/helioviewer.org/cache
chown www-data:www-data /var/www/api.helioviewer.org/cache

COMPOSER_HOME=/root composer install

Expand Down

0 comments on commit ad2759c

Please sign in to comment.