From 16e0f35be9631a4012abd2228f3186545a44ba57 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 13 Oct 2019 16:12:08 +0200 Subject: [PATCH] Add sleep --- scripts/backup | 1 + scripts/change_url | 1 + scripts/install | 1 + scripts/upgrade | 1 + 4 files changed, 4 insertions(+) diff --git a/scripts/backup b/scripts/backup index b348c17..eca0b42 100644 --- a/scripts/backup +++ b/scripts/backup @@ -83,6 +83,7 @@ ynh_backup --src_path="/etc/systemd/system/$app.service" ynh_script_progression --message="Starting a systemd service..." --weight=1 ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Rocket has launched from" +sleep 60 #================================================= # END OF SCRIPT diff --git a/scripts/change_url b/scripts/change_url index a17aae3..e91dd79 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -97,6 +97,7 @@ fi ynh_script_progression --message="Starting a systemd service..." --weight=1 ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Rocket has launched from" +sleep 60 #================================================= # RELOAD NGINX diff --git a/scripts/install b/scripts/install index c643ae5..1570803 100644 --- a/scripts/install +++ b/scripts/install @@ -198,6 +198,7 @@ ynh_script_progression --message="Starting a systemd service..." --weight=2 # Start a systemd service ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Rocket has launched from" +sleep 60 #================================================= # SETUP FAIL2BAN diff --git a/scripts/upgrade b/scripts/upgrade index b79c224..80f499b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -223,6 +223,7 @@ fi ynh_script_progression --message="Starting a systemd service..." --weight=1 ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Rocket has launched from" +sleep 60 #================================================= # RELOAD NGINX