From ec20f7c22481a120d042226854aa3e03779ffba2 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Fri, 26 Nov 2021 14:32:28 +0100 Subject: [PATCH] Update service start line_match --- scripts/change_url | 2 +- scripts/install | 4 ++-- scripts/restore | 2 +- scripts/upgrade | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/change_url b/scripts/change_url index 4dff8ab..c292b89 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -107,7 +107,7 @@ fi #================================================= ynh_script_progression --message="Starting a systemd service..." --weight=1 -ynh_systemd_action --service_name=$app --action=start --log_path=systemd --line_match="server available" +ynh_systemd_action --service_name=$app --action=start --log_path=systemd --line_match="Serving content" #================================================= # RELOAD NGINX diff --git a/scripts/install b/scripts/install index 4f764f7..5cfb3b2 100644 --- a/scripts/install +++ b/scripts/install @@ -112,7 +112,7 @@ ynh_replace_string --match_string="__ENV_PATH__" --replace_string="$PATH" --targ ynh_add_systemd_config #================================================= -# CONFIGURE CONFIG.JS +# CONFIGURE CONFIG.JS #================================================= ynh_add_config --template="../conf/config.js" --destination="$final_path/config/config.js" @@ -152,7 +152,7 @@ yunohost service add $app --description="Zero Knowledge realtime collaborative e ynh_script_progression --message="Starting a systemd service..." --weight=2 # Start a systemd service -ynh_systemd_action --service_name=$app --action=start --log_path="systemd" --line_match="server available" +ynh_systemd_action --service_name=$app --action=start --log_path="systemd" --line_match="Serving content" #================================================= # SETUP SSOWAT diff --git a/scripts/restore b/scripts/restore index fa4e5c4..25fabf5 100644 --- a/scripts/restore +++ b/scripts/restore @@ -103,7 +103,7 @@ yunohost service add $app --description="Zero Knowledge realtime collaborative e #================================================= ynh_script_progression --message="Starting a systemd service..." --weight=1 -ynh_systemd_action --service_name=$app --action=start --log_path=systemd --line_match="server available" +ynh_systemd_action --service_name=$app --action=start --log_path=systemd --line_match="Serving content" #================================================= # GENERIC FINALIZATION diff --git a/scripts/upgrade b/scripts/upgrade index 02f695c..123e213 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -159,7 +159,7 @@ yunohost service add $app --description="Zero Knowledge realtime collaborative e #================================================= ynh_script_progression --message="Starting a systemd service..." --weight=1 -ynh_systemd_action --service_name=$app --action=start --log_path=systemd --line_match="server available" +ynh_systemd_action --service_name=$app --action=start --log_path=systemd --line_match="Serving content" #================================================= # RELOAD NGINX