Skip to content

Commit

Permalink
make sure cache directory has correct ownership
Browse files Browse the repository at this point in the history
  • Loading branch information
Qasim Sarfraz committed May 19, 2022
1 parent e304db0 commit 3b1a686
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions files/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,7 @@ TOKEN=$(aws ecr get-login --no-include-email | awk '{print $6}')
AUTH_N=$(echo AWS:${TOKEN} | base64 |tr -d "[:space:]")
sed -i "s|${AUTH%??}|${AUTH_N}|g" $CONFIG

# make sure cache directory has correct ownership
chown -R nginx:nginx /cache

exec "$@"

0 comments on commit 3b1a686

Please sign in to comment.