1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/navidrome_ynh.git synced 2024-09-03 19:46:30 +02:00

Update change_url

This commit is contained in:
Éric Gaspar 2023-11-12 21:22:25 +01:00
parent 2d16d8ebbe
commit a9b7aa7631

View file

@ -30,12 +30,11 @@ ynh_change_url_nginx_config
#=================================================
ynh_script_progression --message="Modifying a config file..." --weight=1
config_path="/var/lib/$app"
path_url="$new_path"
ynh_add_config --template="navidrome.toml" --destination="$config_path/navidrome.toml"
ynh_add_config --template="navidrome.toml" --destination="/var/lib/$app/navidrome.toml"
chmod 600 "$config_path/navidrome.toml"
chmod 600 "/var/lib/$app/navidrome.toml"
chown -R $app:$app "$config_path"
#=================================================