From 1d05160c2fc3461b436e32fe18b05d17690bfe49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre=20Bourr=C3=A9?= Date: Mon, 25 Mar 2019 01:19:04 +0100 Subject: [PATCH] line_match for the restore and change_url scripts --- scripts/change_url | 2 +- scripts/restore | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/change_url b/scripts/change_url index aff2950..300d985 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" --timeout=3600 +ynh_systemd_action --action=status --service_name="gitlab-runsvdir" --log_path="/var/log/$app/unicorn/current" --line_match="unicorn master" --timeout=3600 #================================================= # GENERIC FINALISATION diff --git a/scripts/restore b/scripts/restore index 4fc8e06..bf1e91f 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" --timeout=3600 +ynh_systemd_action --action=restart --service_name="gitlab-runsvdir" --log_path="/var/log/$app/unicorn/current" --line_match="unicorn master" --timeout=3600 #================================================= # RELOAD NGINX