From d89f8edb52150e8ebbc43529f056c92418702971 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Thu, 23 Jun 2022 14:17:11 +0200 Subject: [PATCH] line_match --- 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 d8cf880..6d59ec1 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -115,7 +115,7 @@ fi ynh_script_progression --message="Starting a systemd service..." --weight=1 # Start a systemd service -ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" +ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" --line_match="Visit : localhost:" #================================================= # RELOAD NGINX diff --git a/scripts/install b/scripts/install index f9d78ee..9964748 100755 --- a/scripts/install +++ b/scripts/install @@ -177,7 +177,7 @@ yunohost service add $app --description="$app daemon, turns any database into a ynh_script_progression --message="Starting a systemd service..." --weight=1 # Start a systemd service -ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" +ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" --line_match="Visit : localhost:" #================================================= # SETUP SSOWAT diff --git a/scripts/restore b/scripts/restore index 172a166..0af2d78 100755 --- a/scripts/restore +++ b/scripts/restore @@ -125,7 +125,7 @@ yunohost service add $app --description="$app daemon, turns any database into a #================================================= ynh_script_progression --message="Starting a systemd service..." --weight=1 -ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" +ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" --line_match="Visit : localhost:" #================================================= # GENERIC FINALIZATION diff --git a/scripts/upgrade b/scripts/upgrade index 6ea209f..ec06d50 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -151,7 +151,7 @@ yunohost service add $app --description="$app daemon, turns any database into a #================================================= ynh_script_progression --message="Starting a systemd service..." --weight=1 -ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" +ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" --line_match="Visit : localhost:" #================================================= # RELOAD NGINX