From 7343b7a6a59531a3bd55029236a759b96f35334e Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 27 Mar 2021 23:16:43 +0100 Subject: [PATCH] Fix --- 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 1abd3db..43a5f34 100755 --- a/scripts/install +++ b/scripts/install @@ -140,7 +140,7 @@ yunohost service add $app --description="A non-linear personal web notebook" --l #================================================= ynh_script_progression --message="Starting a systemd service..." --weight=2 -ynh_systemd_action --service_name=$app --action=restart --log_path="/var/log/$app/$app.log" --line_match="Serving on" +ynh_systemd_action --service_name=$app --action=restart --log_path="systemd" --line_match="Serving on" #================================================= # SETUP SSOWAT diff --git a/scripts/restore b/scripts/restore index 2378559..7302e83 100755 --- a/scripts/restore +++ b/scripts/restore @@ -101,7 +101,7 @@ yunohost service add $app --description="A non-linear personal web notebook" --l #================================================= ynh_script_progression --message="Starting a systemd service..." -ynh_systemd_action --service_name=$app --action=restart --log_path="/var/log/$app/$app.log" --line_match="Serving on" +ynh_systemd_action --service_name=$app --action=restart --log_path="systemd" --line_match="Serving on" #================================================= # GENERIC FINALIZATION diff --git a/scripts/upgrade b/scripts/upgrade index c6df9bd..77b5bb8 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -142,7 +142,7 @@ yunohost service add $app --description="A non-linear personal web notebook" --l #================================================= ynh_script_progression --message="Starting a systemd service..." --weight=1 -ynh_systemd_action --service_name=$app --action=restart --log_path="systemd" #--line_match="Serving on" +ynh_systemd_action --service_name=$app --action=restart --log_path="systemd" --line_match="Serving on" #================================================= # RELOAD NGINX