mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-12 02:41:02 +01:00
Update run.sh
This commit is contained in:
@@ -11,7 +11,8 @@ chown -R wger "$LOCATION" || true
|
||||
chmod -R 777 "$LOCATION" || true
|
||||
rm /home/wger/db/database.sqlite &>/dev/null || true
|
||||
ln -s "$LOCATION"/database.sqlite /home/wger/db
|
||||
python3 manage.py migrate || true
|
||||
|
||||
python3 /home/wger/src/manage.py migrate || true
|
||||
|
||||
echo "Launch app"
|
||||
su -l wger -s /bin/bash -c "exec /home/wger/entrypoint.sh"
|
||||
|
||||
Reference in New Issue
Block a user