Update run.sh

This commit is contained in:
Alexandre
2022-07-09 23:23:21 +02:00
committed by GitHub
parent dddb751e1e
commit 656aa78268

View File

@@ -15,4 +15,4 @@ ln -s "$LOCATION"/database.sqlite /home/wger/db
python3 manage.py migrate || true
echo "Launch app"
su -m wger -c "cd /home/wger/src && export FROM_EMAIL='wger Workout Manager <wger@example.com>' && exec /home/wger/entrypoint.sh"
su -m -l wger -c "cd /home/wger/src && export FROM_EMAIL='wger Workout Manager <wger@example.com>' && exec /home/wger/entrypoint.sh"