From 5e6fed465ae3aaef329dfa0033bed4dece07d18a Mon Sep 17 00:00:00 2001 From: yalh76 Date: Wed, 27 Feb 2019 22:29:53 +0100 Subject: [PATCH 1/2] Fix restore --- scripts/restore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index 7200421..31881cf 100644 --- a/scripts/restore +++ b/scripts/restore @@ -145,7 +145,7 @@ systemctl reload nginx ynh_systemd_action --action=start --service_name=$app --log_path=systemd -sleep 0 +sleep 10 #================================================= # END OF SCRIPT From 65d03eeced9968a464eaf86a28a0730c77d64bf5 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Thu, 28 Feb 2019 01:40:45 +0100 Subject: [PATCH 2/2] sleep 30 --- scripts/install | 2 ++ scripts/restore | 2 +- scripts/upgrade | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index ca7dfee..7bb2dc4 100644 --- a/scripts/install +++ b/scripts/install @@ -327,6 +327,8 @@ systemctl reload nginx ynh_systemd_action --action=start --service_name=$app --line_match="Browse to http://localhost" --log_path=systemd +sleep 30 + #================================================= # END OF SCRIPT #================================================= diff --git a/scripts/restore b/scripts/restore index 31881cf..d8a7e27 100644 --- a/scripts/restore +++ b/scripts/restore @@ -145,7 +145,7 @@ systemctl reload nginx ynh_systemd_action --action=start --service_name=$app --log_path=systemd -sleep 10 +sleep 30 #================================================= # END OF SCRIPT diff --git a/scripts/upgrade b/scripts/upgrade index 56c31a3..728a76c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -200,6 +200,8 @@ systemctl reload nginx ynh_systemd_action --action=start --service_name=$app --log_path=systemd +sleep 30 + #================================================= # END OF SCRIPT #=================================================