From 77ee04e5805dc5e534d9e8d9a6d37afbebeca3ae Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Sun, 2 Apr 2023 21:43:04 +0200 Subject: [PATCH] fix server serivce --line_match="Booting worker with pid" --- 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 801a1c5..4fad570 100644 --- a/scripts/install +++ b/scripts/install @@ -133,7 +133,7 @@ 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}-server" --action="start" --log_path="systemd" --line_match="Application startup complete" +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 6563e9d..e97603e 100644 --- a/scripts/restore +++ b/scripts/restore @@ -76,7 +76,7 @@ yunohost service add "${app}-worker" 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}-server" --action="start" --log_path="systemd" --line_match="Application startup complete" +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 2bd07b2..03911f4 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -186,7 +186,7 @@ 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}-server" --action="start" --log_path="systemd" --line_match="Application startup complete" +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" #=================================================