From 109734146c0430441d024065fb5283118d671f25 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Fri, 1 Jul 2022 01:13:52 +0200 Subject: [PATCH] better start --- scripts/change_url | 2 +- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/change_url b/scripts/change_url index 4048293..08e6228 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -123,7 +123,7 @@ chown $app:$app "$final_path/server/config.js" ynh_script_progression --message="Starting a systemd service..." --weight=1 # Start a systemd service -ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Started" +ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" #================================================= # RELOAD NGINX diff --git a/scripts/install b/scripts/install index 78378f3..5ccc2cd 100644 --- a/scripts/install +++ b/scripts/install @@ -150,7 +150,7 @@ yunohost service add $app --description="Simple, private file sharing" 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="Started" +ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" #================================================= # SETUP SSOWAT diff --git a/scripts/restore b/scripts/restore index eb12d4b..bcce26f 100644 --- a/scripts/restore +++ b/scripts/restore @@ -99,7 +99,7 @@ yunohost service add $app --description="Simple, private file sharing" #================================================= ynh_script_progression --message="Starting a systemd service..." --weight=1 -ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Started" +ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" #================================================= # GENERIC FINALIZATION diff --git a/scripts/upgrade b/scripts/upgrade index 57b1f50..618bdab 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -139,7 +139,7 @@ yunohost service add $app --description="Simple, private file sharing" #================================================= ynh_script_progression --message="Starting a systemd service..." --weight=1 -ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Started" +ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" #================================================= # RELOAD NGINX