From ae5f532f55e6d6657084975607275da1e6ca7551 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Thu, 4 Jan 2024 10:56:43 +0100 Subject: [PATCH] fix linter warning by changing --line-match --- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index f35c91b..44ea197 100755 --- a/scripts/install +++ b/scripts/install @@ -105,7 +105,7 @@ yunohost service add "$app-worker" --log="/var/log/$app/$app-worker.log" ynh_script_progression --message="Starting a systemd service..." --weight=1 # Start a systemd service -ynh_systemd_action --service_name="$app-beat" --action="start" --log_path="systemd" --line_match="Started" +ynh_systemd_action --service_name="$app-beat" --action="start" --log_path="systemd" --line_match="Started bookwyrm celery beat process" ynh_systemd_action --service_name="$app-server" --action="start" --log_path="systemd" --line_match="Booting worker with pid" ynh_systemd_action --service_name="$app-worker" --action="start" --log_path="systemd" --line_match="ready" diff --git a/scripts/restore b/scripts/restore index 0113f4b..f354e6c 100644 --- a/scripts/restore +++ b/scripts/restore @@ -67,7 +67,7 @@ yunohost service add "$app-worker" --log="/var/log/$app/$app-worker.log" #================================================= ynh_script_progression --message="Starting a systemd service..." --weight=1 -ynh_systemd_action --service_name="$app-beat" --action="start" --log_path="systemd" --line_match="Started" +ynh_systemd_action --service_name="$app-beat" --action="start" --log_path="systemd" --line_match="Started bookwyrm celery beat process" ynh_systemd_action --service_name="$app-server" --action="start" --log_path="systemd" --line_match="Booting worker with pid" ynh_systemd_action --service_name="$app-worker" --action="start" --log_path="systemd" --line_match="ready" diff --git a/scripts/upgrade b/scripts/upgrade index f12c2e5..3109f7c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -127,7 +127,7 @@ yunohost service add "$app-worker" --log="/var/log/$app/$app-worker.log" #================================================= ynh_script_progression --message="Starting a systemd service..." --weight=1 -ynh_systemd_action --service_name="$app-beat" --action="start" --log_path="systemd" --line_match="Started" +ynh_systemd_action --service_name="$app-beat" --action="start" --log_path="systemd" --line_match="Started bookwyrm celery beat process" ynh_systemd_action --service_name="$app-server" --action="start" --log_path="systemd" --line_match="Booting worker with pid" ynh_systemd_action --service_name="$app-worker" --action="start" --log_path="systemd" --line_match="ready"