From 7c55e25d97ade7ba92eec0ca7495ca57c837d1ad Mon Sep 17 00:00:00 2001 From: NavyStack <137406386+Navystack@users.noreply.github.com> Date: Tue, 19 Dec 2023 09:08:43 +0900 Subject: [PATCH] . --- start.sh | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/start.sh b/start.sh index 82a6d3e8..fe58717d 100755 --- a/start.sh +++ b/start.sh @@ -1,13 +1,4 @@ #!/bin/bash set -e - -for i in $(seq 1 30); do - echo "Attempting to initialize the database and start the Planka (attempt $i)..." - node db/init.js && - exec node app.js --prod "$@" && - break || s=$?; - echo "Failed (attempt $i). Waiting 5 seconds before the next attempt..."; - sleep 5; -done - -exit $s \ No newline at end of file +node db/init.js +exec node app.js --prod $@ \ No newline at end of file