mirror of
https://git.cloudron.io/cloudron/peertube-app.git
synced 2024-12-23 00:26:34 +00:00
Give peertube sometime to startup
This commit is contained in:
parent
8af7256a77
commit
d8eec71c07
1 changed files with 3 additions and 1 deletions
4
start.sh
4
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
|
||||
|
|
Loading…
Reference in a new issue