From c491fa2172d104b5596e5dca67500ac12e3de2af Mon Sep 17 00:00:00 2001 From: Kayou Date: Thu, 16 May 2019 09:53:52 +0200 Subject: [PATCH] Fix waiting during change url --- scripts/change_url | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/scripts/change_url b/scripts/change_url index ee8e540..c27647c 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -119,18 +119,12 @@ ynh_store_file_checksum --file="$config_path/gitlab.rb" gitlab-ctl reconfigure -if [ $change_path -eq 1 ]; then - ynh_systemd_action --action=restart --service_name="gitlab-runsvdir" - gitlab-ctl restart unicorn -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 +ynh_systemd_action --action=restart --service_name="gitlab-runsvdir" --log_path="/var/log/$app/unicorn/current" --line_match="adopted" --timeout=3600 #================================================= # GENERIC FINALISATION