Update run.sh

This commit is contained in:
Alexandre
2022-07-09 22:48:12 +02:00
committed by GitHub
parent 18d02ebce2
commit 1b8e313e8d

View File

@@ -14,5 +14,7 @@ ln -s "$LOCATION"/database.sqlite /home/wger/db
python3 manage.py migrate || true
cp -rn /home/wger/src /home/wger
echo "Launch app"
su -l wger -s /bin/sh -c "export WORKDIR=/home/wger/src && export FROM_EMAIL='wger Workout Manager <wger@example.com>' && /./home/wger/entrypoint.sh"