From 2983d5df6fa16316338a399a6297baec76d00280 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre=20Bourr=C3=A9?= Date: Mon, 25 Mar 2019 01:36:16 +0100 Subject: [PATCH] new line_match key word --- scripts/change_url | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/change_url b/scripts/change_url index 300d985..8cbd2d5 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -131,7 +131,7 @@ fi ynh_print_info "Waiting for gitlab..." # 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="unicorn master" --timeout=3600 +ynh_systemd_action --action=status --service_name="gitlab-runsvdir" --log_path="/var/log/$app/unicorn/current" --line_match="adopted" --timeout=3600 #================================================= # GENERIC FINALISATION diff --git a/scripts/restore b/scripts/restore index bf1e91f..2ea09f3 100644 --- a/scripts/restore +++ b/scripts/restore @@ -135,7 +135,7 @@ yunohost service add "gitlab-runsvdir" --log "/var/log/$app/gitlab-rails/applica #================================================= ynh_print_info "Waiting for gitlab..." -ynh_systemd_action --action=restart --service_name="gitlab-runsvdir" --log_path="/var/log/$app/unicorn/current" --line_match="unicorn master" --timeout=3600 +ynh_systemd_action --action=restart --service_name="gitlab-runsvdir" --log_path="/var/log/$app/unicorn/current" --line_match="adopted" --timeout=3600 #================================================= # RELOAD NGINX diff --git a/scripts/upgrade b/scripts/upgrade index d81cf68..674fc93 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -219,7 +219,7 @@ fi ynh_print_info "Waiting for gitlab..." # 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="unicorn master" --timeout=3600 +ynh_systemd_action --action=status --service_name="gitlab-runsvdir" --log_path="/var/log/$app/unicorn/current" --line_match="adopted" --timeout=3600 #================================================= # RELOAD NGINX