mirror of
https://github.com/YunoHost-Apps/meilisearch_ynh.git
synced 2024-09-03 19:45:59 +02:00
commit
16b6ca40a2
6 changed files with 12 additions and 11 deletions
|
@ -19,7 +19,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
|||
Lightning Fast, Ultra Relevant, and Typo-Tolerant Search Engine
|
||||
|
||||
|
||||
**Shipped version:** 1.5.1~ynh1
|
||||
**Shipped version:** 1.6.1~ynh1
|
||||
|
||||
**Demo:** https://where2watch.meilisearch.com/
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po
|
|||
|
||||
Un moteur de recherche open source, ultra-rapide et hyper pertinent qui s'intègre sans effort à votre flux de travail.
|
||||
|
||||
**Version incluse :** 1.5.1~ynh1
|
||||
**Version incluse :** 1.6.1~ynh1
|
||||
|
||||
**Démo :** https://where2watch.meilisearch.com/
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ name = "MeiliSearch"
|
|||
description.en = "Lightning Fast, Ultra Relevant, and Typo-Tolerant Search Engine"
|
||||
description.fr = "Moteur de recherche rapide, ultra-performant et tolérant aux fautes de frappe"
|
||||
|
||||
version = "1.5.1~ynh1"
|
||||
version = "1.6.1~ynh1"
|
||||
|
||||
maintainers = ["Julien Gomes Dias"]
|
||||
|
||||
|
@ -20,8 +20,11 @@ code = "https://github.com/meilisearch/meilisearch/"
|
|||
yunohost = ">= 11.2"
|
||||
architectures = ["amd64", "arm64"]
|
||||
multi_instance = true
|
||||
|
||||
ldap = false
|
||||
|
||||
sso = false
|
||||
|
||||
disk = "50M"
|
||||
ram.build = "70M"
|
||||
ram.runtime = "50M"
|
||||
|
@ -39,10 +42,10 @@ ram.runtime = "50M"
|
|||
[resources.sources]
|
||||
|
||||
[resources.sources.main]
|
||||
amd64.url = "https://github.com/meilisearch/meilisearch/releases/download/v1.5.1/meilisearch-linux-amd64"
|
||||
amd64.sha256 = "4266d27d3388d5a5d93b515d8770882aa99e234af064d23279fccbcd54fd226d"
|
||||
arm64.url = "https://github.com/meilisearch/meilisearch/releases/download/v1.5.1/meilisearch-linux-aarch64"
|
||||
arm64.sha256 = "9edbfdd0eb49a8b88a57bd0765f782655c972bff05ce024ff224b4834753a2d2"
|
||||
amd64.url = "https://github.com/meilisearch/meilisearch/releases/download/v1.6.1/meilisearch-linux-amd64"
|
||||
amd64.sha256 = "b1211887fdb42f51947d280cf231e81287bc5b766424101f84fcdd64721bbccb"
|
||||
arm64.url = "https://github.com/meilisearch/meilisearch/releases/download/v1.6.1/meilisearch-linux-aarch64"
|
||||
arm64.sha256 = "7934019725cec1fa4f3e3dbc4216790852da3384fcc75faa717b22ef1a3e21e6"
|
||||
rename = "meilisearch"
|
||||
in_subdir = false
|
||||
extract = false
|
||||
|
|
|
@ -17,7 +17,6 @@ ynh_script_progression --message="Setting up source files..." --weight=1
|
|||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$install_dir"
|
||||
|
||||
chmod 750 "$install_dir"
|
||||
chmod -R o-rwx "$install_dir"
|
||||
chown -R $app:www-data "$install_dir"
|
||||
chmod +x "$install_dir/meilisearch"
|
||||
|
@ -47,7 +46,7 @@ ynh_script_progression --message="Adding a configuration file..." --weight=1
|
|||
|
||||
key=$(ynh_string_random --length=16)
|
||||
|
||||
ynh_add_config --template="../conf/config.toml" --destination="$install_dir/config.toml"
|
||||
ynh_add_config --template="config.toml" --destination="$install_dir/config.toml"
|
||||
|
||||
chmod 400 "$install_dir/config.toml"
|
||||
chown $app:$app "$install_dir/config.toml"
|
||||
|
|
|
@ -25,7 +25,6 @@ ynh_script_progression --message="Restoring Meilisearch main directory..." --wei
|
|||
|
||||
ynh_restore_file --origin_path="$install_dir"
|
||||
|
||||
chmod 750 "$install_dir"
|
||||
chmod -R o-rwx "$install_dir"
|
||||
chown -R $app:www-data "$install_dir"
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@ ynh_script_progression --message="Adding a configuration file..." --weight=1
|
|||
|
||||
key=$(ynh_string_random --length=16)
|
||||
|
||||
ynh_add_config --template="../conf/config.toml" --destination="$install_dir/config.toml"
|
||||
ynh_add_config --template="config.toml" --destination="$install_dir/config.toml"
|
||||
|
||||
chmod 400 "$install_dir/config.toml"
|
||||
chown $app:$app "$install_dir/config.toml"
|
||||
|
|
Loading…
Reference in a new issue