From e6933f80ad3be47b06b6188abd945a0aaf372cec Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 9 Jul 2022 22:31:02 +0200 Subject: [PATCH] Update run.sh --- wger/rootfs/run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wger/rootfs/run.sh b/wger/rootfs/run.sh index 4e9d221eb..0dafe14bc 100644 --- a/wger/rootfs/run.sh +++ b/wger/rootfs/run.sh @@ -12,7 +12,7 @@ chmod -R 777 "$LOCATION" || true rm /home/wger/db/database.sqlite &>/dev/null || true ln -s "$LOCATION"/database.sqlite /home/wger/db -python3 /home/wger/src/manage.py migrate || true +python3 manage.py migrate || true echo "Launch app" -su -l wger -s /bin/bash -c "exec /home/wger/entrypoint.sh" +su -l wger -s /bin/sh -c "/./home/wger/entrypoint.sh"