mirror of
https://github.com/YunoHost-Apps/meilisearch_ynh.git
synced 2024-09-03 19:45:59 +02:00
Update upgrade
This commit is contained in:
parent
0fcbcd6732
commit
3aa9f543c7
1 changed files with 10 additions and 0 deletions
|
@ -56,6 +56,16 @@ ynh_use_logrotate --non-append
|
||||||
|
|
||||||
yunohost service add $app --description="Opensource next generation search API" --log="/var/log/$app/$app.log"
|
yunohost service add $app --description="Opensource next generation search API" --log="/var/log/$app/$app.log"
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# ADD A CONFIGURATION
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
||||||
|
|
||||||
|
ynh_add_config --template="../conf/config.toml" --destination="$install_dir/config.toml"
|
||||||
|
|
||||||
|
chmod 400 "$install_dir/config.toml"
|
||||||
|
chown $app:$app "$install_dir/config.toml"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# START SYSTEMD SERVICE
|
# START SYSTEMD SERVICE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue