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