Give peertube sometime to startup

This commit is contained in:
Girish Ramakrishnan 2020-06-24 15:02:16 -07:00
parent 8af7256a77
commit d8eec71c07

View file

@ -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