diff --git a/scripts/upgrade b/scripts/upgrade index ccca20b..222c4d2 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -296,10 +296,14 @@ fi #================================================= # WAITING GITLAB #================================================= -ynh_script_progression --message="Waiting for gitlab..." --weight=15 -# Action status to just wait the service -ynh_systemd_action --action=status --service_name="gitlab-runsvdir" --log_path="/var/log/$app/unicorn/current" --line_match="adopted" --timeout=3600 +if [ "$upgrade_type" == "UPGRADE_APP" ] +then + ynh_script_progression --message="Waiting for gitlab..." --weight=15 + + # Action status to just wait the service + ynh_systemd_action --action=status --service_name="gitlab-runsvdir" --log_path="/var/log/$app/unicorn/current" --line_match="adopted" --timeout=3600 +fi #================================================= # RELOAD NGINX