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:
parent
bd13bdc831
commit
c6ea30a650
1 changed files with 11 additions and 0 deletions
|
@ -169,6 +169,17 @@ chown -R $app:www-data "$final_path"
|
||||||
chmod +x "$backend_path/vikunja"
|
chmod +x "$backend_path/vikunja"
|
||||||
chown -R $app:www-data "$backend_path/files"
|
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
|
# NGINX CONFIGURATION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue