mirror of
https://github.com/YunoHost-Apps/garage_ynh.git
synced 2024-09-03 18:36:32 +02:00
Merge 9e56582dda
into 4b8bc69103
This commit is contained in:
commit
c558e95b74
12 changed files with 22 additions and 24 deletions
|
@ -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: <https://garagehq.deuxfleurs.fr/>
|
||||
|
|
|
@ -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: <https://garagehq.deuxfleurs.fr/>
|
||||
|
|
|
@ -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: <https://garagehq.deuxfleurs.fr/>
|
||||
|
|
|
@ -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 : <https://garagehq.deuxfleurs.fr/>
|
||||
|
|
|
@ -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: <https://garagehq.deuxfleurs.fr/>
|
||||
|
|
|
@ -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: <https://garagehq.deuxfleurs.fr/>
|
||||
|
|
|
@ -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
|
||||
## Документация и ресурсы
|
||||
|
||||
- Официальный веб-сайт приложения: <https://garagehq.deuxfleurs.fr/>
|
||||
|
|
|
@ -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
|
||||
## 文档与资源
|
||||
|
||||
- 官方应用网站: <https://garagehq.deuxfleurs.fr/>
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
|
@ -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"
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue