mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-01 13:24:04 +02:00
Update run.sh
This commit is contained in:
@@ -19,9 +19,9 @@ chown -R wger:wger "/home/wger"
|
|||||||
chmod -R 777 "$LOCATION"
|
chmod -R 777 "$LOCATION"
|
||||||
|
|
||||||
echo "Launch app"
|
echo "Launch app"
|
||||||
pip install -e .
|
#pip install -e .
|
||||||
exec /home/wger/entrypoint.sh
|
#exec /home/wger/entrypoint.sh
|
||||||
#cd /home/wger/src || true
|
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|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
|
#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