From fa7c837e0af435b5e3e938034e1ea4c0136dd42f Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 9 Jul 2022 21:59:45 +0200 Subject: [PATCH] Update run.sh --- wger/rootfs/run.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wger/rootfs/run.sh b/wger/rootfs/run.sh index b1f19ca08..e0f3fb699 100644 --- a/wger/rootfs/run.sh +++ b/wger/rootfs/run.sh @@ -1,5 +1,8 @@ #!/bin/bashio +chmod +x /etc/cont-init.d/* +/./etc/cont-init.d/* + LOCATION=/data python3 manage.py migrate || true mkdir -p "$LOCATION" @@ -9,8 +12,5 @@ chmod -R 777 "$LOCATION" || true rm /home/wger/db/database.sqlite &>/dev/null || true ln -s "$LOCATION"/database.sqlite /home/wger/db -chmod +x /etc/cont-init.d/* -/./etc/cont-init.d/* - echo "Launch app" su -u wger bash -c /./home/wger/entrypoint.sh