Skip to content

Commit

Permalink
fix(docker): don't fail startup if chown fails
Browse files Browse the repository at this point in the history
e.g. read-only config.yml mount (#106)
  • Loading branch information
JosephKav authored Apr 26, 2024
1 parent 823c847 commit 80f2e61
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ if [ "$(id -u)" -eq 0 ]; then
/app \
/app/data \
/app/data/argus.db \
/app/config.yml
/app/config.yml || \
echo "WARNING: Changing the ownership of the config/database failed, so some features may not work"

echo "Starting..."
su-exec argus /usr/bin/argus "$@"
Expand Down

0 comments on commit 80f2e61

Please sign in to comment.