mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-11 18:11:29 +02:00
Update run.sh
This commit is contained in:
@@ -13,7 +13,7 @@ chmod -R 777 "$LOCATION"
|
|||||||
ln -s "$LOCATION"/database.sqlite /home/wger/db
|
ln -s "$LOCATION"/database.sqlite /home/wger/db
|
||||||
|
|
||||||
echo "Launch app"
|
echo "Launch app"
|
||||||
su -m wger -c "\
|
su -l wger -c "\
|
||||||
python3 manage.py migrate || true && \
|
python3 manage.py migrate || true && \
|
||||||
DOCKER_DIR=./extras/docker/development && \
|
DOCKER_DIR=./extras/docker/development && \
|
||||||
if [ -f ~/.bashrc ]; then source ~/.bashrc; fi && \
|
if [ -f ~/.bashrc ]; then source ~/.bashrc; fi && \
|
||||||
|
|||||||
Reference in New Issue
Block a user