diff --git a/scripts/change_url b/scripts/change_url index 80fa5af..b7a7530 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -102,6 +102,7 @@ ynh_print_info "Updating .env configuration..." ynh_systemd_action --action=stop --service_name=$app --log_path="systemd" ynh_replace_string "$old_domain$old_path" "$new_domain$new_path" "$final_path/.env" ynh_systemd_action --action=start --service_name=$app --log_path="systemd" --line_match="Kadira: completed instrumenting the app" +sleep 10 #================================================= # GENERIC FINALISATION diff --git a/scripts/install b/scripts/install index 28e424c..32199e9 100755 --- a/scripts/install +++ b/scripts/install @@ -271,6 +271,7 @@ systemctl reload nginx #================================================= ynh_systemd_action --action=start --service_name=$app --log_path="systemd" --line_match="Kadira: completed instrumenting the app" +sleep 10 #================================================= # END OF SCRIPT diff --git a/scripts/restore b/scripts/restore index 3a728d6..67f0303 100644 --- a/scripts/restore +++ b/scripts/restore @@ -130,6 +130,7 @@ systemctl reload nginx #================================================= ynh_systemd_action --action=start --service_name=$app --log_path="systemd" --line_match="Kadira: completed instrumenting the app" +sleep 10 #================================================= # END OF SCRIPT