diff --git a/start.sh b/start.sh index 9b66be1..9bf09f6 100755 --- a/start.sh +++ b/start.sh @@ -5,9 +5,11 @@ set -eu mkdir -p /app/data/storage reset_root_password() { + sleep 10 + while ! curl --fail http://localhost:9000/; do echo "==> (reset root password) Waiting for peertube to initialize..." - sleep 3 + sleep 5 done echo "changeme" | npm run reset-password -- -u root