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:
parent
2d16d8ebbe
commit
a9b7aa7631
1 changed files with 2 additions and 3 deletions
|
@ -30,12 +30,11 @@ ynh_change_url_nginx_config
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Modifying a config file..." --weight=1
|
ynh_script_progression --message="Modifying a config file..." --weight=1
|
||||||
|
|
||||||
config_path="/var/lib/$app"
|
|
||||||
path_url="$new_path"
|
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"
|
chown -R $app:$app "$config_path"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue