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:
parent
dc5b9f52cd
commit
6c0bc10576
4 changed files with 4 additions and 4 deletions
|
@ -85,4 +85,4 @@ systemctl reload nginx
|
|||
systemctl enable "$app"
|
||||
systemctl start "$app"
|
||||
# App needs time to start
|
||||
sleep 15
|
||||
sleep 30
|
||||
|
|
|
@ -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
|
||||
)
|
||||
|
||||
|
|
|
@ -150,4 +150,4 @@ systemctl reload nginx
|
|||
systemctl enable "$app"
|
||||
systemctl start "$app"
|
||||
# App needs time to start
|
||||
sleep 15
|
||||
sleep 30
|
||||
|
|
|
@ -198,4 +198,4 @@ systemctl reload nginx
|
|||
systemctl enable "$app"
|
||||
systemctl start "$app"
|
||||
# App needs time to start
|
||||
sleep 15
|
||||
sleep 30
|
||||
|
|
Loading…
Reference in a new issue