mirror of
https://github.com/YunoHost-Apps/meilisearch_ynh.git
synced 2024-09-03 19:45:59 +02:00
fix
This commit is contained in:
parent
13d76cadb5
commit
6237901425
2 changed files with 4 additions and 2 deletions
|
@ -9,8 +9,6 @@
|
||||||
source _common.sh
|
source _common.sh
|
||||||
source /usr/share/yunohost/helpers
|
source /usr/share/yunohost/helpers
|
||||||
|
|
||||||
key=$(ynh_string_random --length=16)
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# DOWNLOAD AND INSTALL MEILISEARCH
|
# 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
|
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="../conf/config.toml" --destination="$install_dir/config.toml"
|
||||||
|
|
||||||
chmod 400 "$install_dir/config.toml"
|
chmod 400 "$install_dir/config.toml"
|
||||||
|
|
|
@ -61,6 +61,8 @@ yunohost service add $app --description="Opensource next generation search API"
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
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="../conf/config.toml" --destination="$install_dir/config.toml"
|
||||||
|
|
||||||
chmod 400 "$install_dir/config.toml"
|
chmod 400 "$install_dir/config.toml"
|
||||||
|
|
Loading…
Reference in a new issue