mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-03-14 17:04:26 +01:00
Update run.sh
This commit is contained in:
@@ -19,9 +19,9 @@ chown -R wger:wger "/home/wger"
|
||||
chmod -R 777 "$LOCATION"
|
||||
|
||||
echo "Launch app"
|
||||
pip install -e .
|
||||
exec /home/wger/entrypoint.sh
|
||||
#cd /home/wger/src || true
|
||||
#pip install -e .
|
||||
#exec /home/wger/entrypoint.sh
|
||||
sed -i "1a cd /home/wger/src" /home/wger/entrypoint.sh
|
||||
#sed -i "s|manage.py|/home/wger/src/manage.py|g" /home/wger/entrypoint.sh
|
||||
#sed -i "s|wger bootstrap|/home/wger/src/wger bootstrap|g" /home/wger/entrypoint.sh
|
||||
#su wger -c "/usr/bin/env bash /home/wger/entrypoint.sh"
|
||||
su wger -c "/usr/bin/env bash /home/wger/entrypoint.sh"
|
||||
|
||||
Reference in New Issue
Block a user