From 6c0bc105769f91908322292f2692b59ba7465c9c Mon Sep 17 00:00:00 2001 From: anmol26s Date: Fri, 1 Jun 2018 19:49:54 +0530 Subject: [PATCH] Increased the sleep time --- scripts/backup | 2 +- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/backup b/scripts/backup index 5a13c3c..632e54a 100644 --- a/scripts/backup +++ b/scripts/backup @@ -85,4 +85,4 @@ systemctl reload nginx systemctl enable "$app" systemctl start "$app" # App needs time to start -sleep 15 +sleep 30 diff --git a/scripts/install b/scripts/install index 60370d2..bd592f5 100644 --- a/scripts/install +++ b/scripts/install @@ -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 ) diff --git a/scripts/restore b/scripts/restore index 8ba1780..79691ac 100644 --- a/scripts/restore +++ b/scripts/restore @@ -150,4 +150,4 @@ systemctl reload nginx systemctl enable "$app" systemctl start "$app" # App needs time to start -sleep 15 +sleep 30 diff --git a/scripts/upgrade b/scripts/upgrade index 0fe3db2..42b7517 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -198,4 +198,4 @@ systemctl reload nginx systemctl enable "$app" systemctl start "$app" # App needs time to start -sleep 15 +sleep 30