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 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 #=================================================