Update run.sh

This commit is contained in:
Alexandre
2022-07-10 08:01:59 +02:00
committed by GitHub
parent 5496551634
commit c2caf7ff92

View File

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