1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/peertube_ynh.git synced 2024-09-03 19:56:29 +02:00

Increased the sleep time

This commit is contained in:
anmol26s 2018-06-01 19:49:54 +05:30
parent dc5b9f52cd
commit 6c0bc10576
4 changed files with 4 additions and 4 deletions

View file

@ -85,4 +85,4 @@ systemctl reload nginx
systemctl enable "$app"
systemctl start "$app"
# App needs time to start
sleep 15
sleep 30

View file

@ -224,7 +224,7 @@ systemctl start "$app"
# we need to wait for the service to init peertube's database
(
cd "$final_path"
sleep 15
sleep 30
echo $admin_pass | NODE_CONFIG_DIR="$final_path/config" NODE_ENV=production PATH="/opt/node_n/bin:$PATH" npm run reset-password -- -u root
)

View file

@ -150,4 +150,4 @@ systemctl reload nginx
systemctl enable "$app"
systemctl start "$app"
# App needs time to start
sleep 15
sleep 30

View file

@ -198,4 +198,4 @@ systemctl reload nginx
systemctl enable "$app"
systemctl start "$app"
# App needs time to start
sleep 15
sleep 30