From 9e56582dda853deed5b8ec2803dfdca34edc2782 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Sun, 18 Aug 2024 22:31:10 +0200 Subject: [PATCH] touch "/var/log/$app/$app.log" --- scripts/install | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 762cc18..b7e802f 100755 --- a/scripts/install +++ b/scripts/install @@ -102,6 +102,9 @@ yunohost tools regen-conf nginx #================================================= ynh_script_progression --message="Configuring a systemd service..." --weight=1 +mkdir -p "/var/log/$app/" +touch "/var/log/$app/$app.log" + # Create a dedicated systemd config ynh_add_systemd_config @@ -118,8 +121,6 @@ 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 Garage: Data Store." - - #================================================= # CONFIGURE GARAGE #=================================================