diff --git a/README.md b/README.md index 02b3381..de16254 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ Garage is designed for storage clusters composed of nodes running at different p - K2V API (experimental) -**Shipped version:** 0.9.2~ynh1 +**Shipped version:** 0.9.4~ynh1 ## Documentation and resources - Official app website: diff --git a/README_es.md b/README_es.md index 5152cfd..b249db6 100644 --- a/README_es.md +++ b/README_es.md @@ -35,7 +35,7 @@ Garage is designed for storage clusters composed of nodes running at different p - K2V API (experimental) -**Versión actual:** 0.9.2~ynh1 +**Versión actual:** 0.9.4~ynh1 ## Documentaciones y recursos - Sitio web oficial: diff --git a/README_eu.md b/README_eu.md index 6f522ea..525f1a2 100644 --- a/README_eu.md +++ b/README_eu.md @@ -35,7 +35,7 @@ Garage is designed for storage clusters composed of nodes running at different p - K2V API (experimental) -**Paketatutako bertsioa:** 0.9.2~ynh1 +**Paketatutako bertsioa:** 0.9.4~ynh1 ## Dokumentazioa eta baliabideak - Aplikazioaren webgune ofiziala: diff --git a/README_fr.md b/README_fr.md index 8fe0940..2db8f67 100644 --- a/README_fr.md +++ b/README_fr.md @@ -35,7 +35,7 @@ Garage is designed for storage clusters composed of nodes running at different p - K2V API (experimental) -**Version incluse :** 0.9.2~ynh1 +**Version incluse :** 0.9.4~ynh1 ## Documentations et ressources - Site officiel de l’app : diff --git a/README_gl.md b/README_gl.md index 497ba29..6e762e3 100644 --- a/README_gl.md +++ b/README_gl.md @@ -35,7 +35,7 @@ Garage is designed for storage clusters composed of nodes running at different p - K2V API (experimental) -**Versión proporcionada:** 0.9.2~ynh1 +**Versión proporcionada:** 0.9.4~ynh1 ## Documentación e recursos - Web oficial da app: diff --git a/README_id.md b/README_id.md index 55f9aee..f4365fb 100644 --- a/README_id.md +++ b/README_id.md @@ -35,7 +35,7 @@ Garage is designed for storage clusters composed of nodes running at different p - K2V API (experimental) -**Versi terkirim:** 0.9.2~ynh1 +**Versi terkirim:** 0.9.4~ynh1 ## Dokumentasi dan sumber daya - Website aplikasi resmi: diff --git a/README_ru.md b/README_ru.md index b713e1a..1487b34 100644 --- a/README_ru.md +++ b/README_ru.md @@ -35,7 +35,7 @@ Garage is designed for storage clusters composed of nodes running at different p - K2V API (experimental) -**Поставляемая версия:** 0.9.2~ynh1 +**Поставляемая версия:** 0.9.4~ynh1 ## Документация и ресурсы - Официальный веб-сайт приложения: diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 36bb696..00b211b 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -35,7 +35,7 @@ Garage is designed for storage clusters composed of nodes running at different p - K2V API (experimental) -**分发版本:** 0.9.2~ynh1 +**分发版本:** 0.9.4~ynh1 ## 文档与资源 - 官方应用网站: diff --git a/manifest.toml b/manifest.toml index c1b7f94..6d38644 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,9 +5,9 @@ name = "Garage" description.en = "S3 storage" description.fr = "stockage S3" -version = "0.9.2~ynh1" +version = "0.9.4~ynh1" -maintainers = ["oiseauroch"] +maintainers = [ "oiseauroch" ] [upstream] license = "AGPL-3.0-only" @@ -63,14 +63,14 @@ ram.runtime = "50M" [resources.sources.main] in_subdir = false extract = false - amd64.url = "https://garagehq.deuxfleurs.fr/_releases/v0.9.2/x86_64-unknown-linux-musl/garage" - amd64.sha256 = "5e9ddd7bf397d07cbf9c36630c6871688adbcbf31873127f99c63320459483fc" - arm64.url = "https://garagehq.deuxfleurs.fr/_releases/v0.9.2/aarch64-unknown-linux-musl/garage" - arm64.sha256 = "a7fabef132f2f71607df6b2343860c3e0d80ad7fee2e7150d703958a49e37191" - i386.url = "https://garagehq.deuxfleurs.fr/_releases/v0.9.2/i686-unknown-linux-musl/garage" - i386.sha256 = "4cea631fb3d110725ed349e435dde911f7a9efe810ccbc670043ea3bb52c5fe4" - armhf.url = "https://garagehq.deuxfleurs.fr/_releases/v0.9.2/armv6l-unknown-linux-musleabihf/garage" - armhf.sha256 = "8fc03edb615e78462a1bd58ccbd083e319b8b8d3f80fe430f2b599d5e4791485" + amd64.url = "https://garagehq.deuxfleurs.fr/_releases/v0.9.4/x86_64-unknown-linux-musl/garage" + amd64.sha256 = "965712193116fddccb85b8e58a192be723e8f2fc7c4a3123704c6d7bdc3d050f" + arm64.url = "https://garagehq.deuxfleurs.fr/_releases/v0.9.4/aarch64-unknown-linux-musl/garage" + arm64.sha256 = "2e5cc060742969d0b607728525fa535f07a2b133ac2c96057241fb467a7fb45a" + i386.url = "https://garagehq.deuxfleurs.fr/_releases/v0.9.4/i686-unknown-linux-musl/garage" + i386.sha256 = "4cdc26178284a1f92d8aba38c240d8d4cf775837da2ac7bb8fb4c603a546dff5" + armhf.url = "https://garagehq.deuxfleurs.fr/_releases/v0.9.4/armv6l-unknown-linux-musleabihf/garage" + armhf.sha256 = "e0dfc6391e6f75c4ddaf6e3b7e36e2fe19555bcd332fd283f643bfc46613dbe9" [resources.ports] main.default = 4000 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 #================================================= diff --git a/scripts/restore b/scripts/restore index cb4c7d1..b30fcb0 100755 --- a/scripts/restore +++ b/scripts/restore @@ -56,9 +56,6 @@ yunohost service add $app --description="s3 storage" --log="/var/log/$app/$app.l #================================================= ynh_script_progression --message="Starting a systemd service..." -#recreate log folder -mkdir /var/log/$app - ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" #=================================================