1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/vikunja_ynh.git synced 2024-09-03 18:06:26 +02:00

Test config file

This commit is contained in:
AllanNICOLE 2022-08-22 20:55:02 +02:00
parent bd13bdc831
commit c6ea30a650

View file

@ -169,6 +169,17 @@ chown -R $app:www-data "$final_path"
chmod +x "$backend_path/vikunja"
chown -R $app:www-data "$backend_path/files"
#=================================================
# UPGRADE A CONFIGURATION
#=================================================
ynh_script_progression --message="Upgrading a configuration file..." --weight=1
redis_db=$(ynh_redis_get_free_db)
ynh_add_config --template="../conf/config.yml" --destination="$backend_path/config.yml"
chmod 400 "$backend_path/config.yml"
chown $app:$app "$backend_path/config.yml"
#=================================================
# NGINX CONFIGURATION
#=================================================