Skip to content

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
Added images/gyms to chown command
  • Loading branch information
Chefkeks authored Apr 23, 2024
1 parent 23bd489 commit 249f739
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ env | egrep -q '^POKEMONRAIDBOT_' && \
| tee -a config/config.json)

# Do some permission setting for any data that might've been volume mounted in, otherwise stuff will fail in weird ways.
chown -R www-data:www-data config/config.json access/ custom/ images/pokemon*
chown -R www-data:www-data config/config.json access/ custom/ images/gyms/ images/pokemon*

# Ensure we now have a valid config
if [[ ! -a /var/www/html/config/config.json ]]; then
Expand Down

0 comments on commit 249f739

Please sign in to comment.