From 3c025e9dba1e4b0021a82c5e301dfbd39fd800b9 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Sun, 18 Aug 2024 22:26:32 +0200 Subject: [PATCH 1/2] bump garage version in the common script... --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index b99be04..61dc16c 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,7 @@ # COMMON VARIABLES #================================================= -GARAGE_VERSION="0.9.0" +GARAGE_VERSION="0.9.4" system_is_inside_container() { systemd-detect-virt -c -q From 9e56582dda853deed5b8ec2803dfdca34edc2782 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Sun, 18 Aug 2024 22:31:10 +0200 Subject: [PATCH 2/2] 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 #=================================================