From 2fa0f923df50c2de3c778f0db9432ab6e640c730 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 17 Jul 2022 15:55:29 +0200 Subject: [PATCH] Fix --- 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 49d4f6a..a064480 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -129,7 +129,7 @@ chown $app:$app "$final_path/custom/conf/app.ini" #================================================= ynh_script_progression --message="Starting a systemd service..." --weight=2 -ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Starting new Web server: tcp:127.0.0.1:" +ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" --line_match="Starting new Web server: tcp:127.0.0.1:" #================================================= # RELOAD NGINX diff --git a/scripts/install b/scripts/install index 1559bec..d52aae3 100644 --- a/scripts/install +++ b/scripts/install @@ -169,7 +169,7 @@ yunohost service add $app --description="Lightweight Git forge" --log="/var/log/ ynh_script_progression --message="Starting a systemd service..." --weight=3 # Start a systemd service -ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Starting new Web server: tcp:127.0.0.1:" +ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" --line_match="Starting new Web server: tcp:127.0.0.1:" #================================================= # SETUP FAIL2BAN diff --git a/scripts/restore b/scripts/restore index 1cdd701..466a511 100644 --- a/scripts/restore +++ b/scripts/restore @@ -129,7 +129,7 @@ yunohost service add $app --description="Lightweight Git forge" --log="/var/log/ #================================================= ynh_script_progression --message="Starting a systemd service..." --weight=3 -ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Starting new Web server: tcp:127.0.0.1:" +ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" --line_match="Starting new Web server: tcp:127.0.0.1:" #================================================= # GENERIC FINALIZATION diff --git a/scripts/upgrade b/scripts/upgrade index 4fede84..b9e2ecd 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -196,7 +196,7 @@ yunohost service add $app --description="Lightweight Git forge" --log="/var/log/ 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="Starting new Web server: tcp:127.0.0.1:" +ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" --line_match="Starting new Web server: tcp:127.0.0.1:" #================================================= # RELOAD NGINX