diff --git a/scripts/install b/scripts/install index 10170fb..c3f9e72 100644 --- a/scripts/install +++ b/scripts/install @@ -212,6 +212,9 @@ ynh_script_progression --message="Starting a systemd service..." ynh_systemd_action --service_name="${app}-beat" --action="start" --log_path="systemd" --line_match="Running with the following plugins enabled" ynh_systemd_action --service_name="${app}-server" --action="start" --log_path="systemd" --line_match="Application startup complete" ynh_systemd_action --service_name="${app}-worker" --action="start" --log_path="systemd" --line_match="Running with the following plugins enabled" +if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then + sleep 60 +fi #================================================= # SETUP FAIL2BAN diff --git a/scripts/restore b/scripts/restore index 2b9d772..f9aa444 100644 --- a/scripts/restore +++ b/scripts/restore @@ -144,6 +144,9 @@ ynh_script_progression --message="Starting a systemd service..." ynh_systemd_action --service_name="${app}-beat" --action="start" --log_path="systemd" --line_match="Running with the following plugins enabled" ynh_systemd_action --service_name="${app}-server" --action="start" --log_path="systemd" --line_match="Application startup complete" ynh_systemd_action --service_name="${app}-worker" --action="start" --log_path="systemd" --line_match="Running with the following plugins enabled" +if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then + sleep 60 +fi #================================================= # GENERIC FINALIZATION diff --git a/scripts/upgrade b/scripts/upgrade index e63d02e..545a26c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -241,6 +241,9 @@ ynh_script_progression --message="Starting a systemd service..." ynh_systemd_action --service_name="${app}-beat" --action="start" --log_path="systemd" --line_match="Running with the following plugins enabled" ynh_systemd_action --service_name="${app}-server" --action="start" --log_path="systemd" --line_match="Application startup complete" ynh_systemd_action --service_name="${app}-worker" --action="start" --log_path="systemd" --line_match="Running with the following plugins enabled" +if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then + sleep 60 +fi #================================================= # UPGRADE FAIL2BAN