1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/meilisearch_ynh.git synced 2024-09-03 19:45:59 +02:00
This commit is contained in:
Éric Gaspar 2023-04-18 09:42:01 +02:00
parent 13d76cadb5
commit 6237901425
2 changed files with 4 additions and 2 deletions

View file

@ -9,8 +9,6 @@
source _common.sh
source /usr/share/yunohost/helpers
key=$(ynh_string_random --length=16)
#=================================================
# DOWNLOAD AND INSTALL MEILISEARCH
#=================================================
@ -47,6 +45,8 @@ yunohost service add $app --description="Opensource next generation search API"
#=================================================
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"
chmod 400 "$install_dir/config.toml"

View file

@ -61,6 +61,8 @@ yunohost service add $app --description="Opensource next generation search API"
#=================================================
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"
chmod 400 "$install_dir/config.toml"