mirror of
https://github.com/YunoHost-Apps/mopidy_ynh.git
synced 2024-09-03 19:46:21 +02:00
[fix] upgrade file && change spotify configuration
This commit is contained in:
parent
b8722a63e1
commit
b001c8d64d
2 changed files with 6 additions and 6 deletions
|
@ -116,13 +116,11 @@ excluded_file_extensions =
|
|||
[spotify]
|
||||
username = __USER_SPOTIFY__
|
||||
password = __PWD_SPOTIFY__
|
||||
client_id = __ID_SPOTIFY__
|
||||
client_secret = __SECRET_SPOTIFY__
|
||||
#bitrate = 320
|
||||
#timeout = 10
|
||||
#cache_dir = $XDG_CACHE_DIR/mopidy/spotify
|
||||
|
||||
[spotify_web]
|
||||
client_id = __ID_SPOTIFY__
|
||||
client_secret = __SECRET_SPOTIFY__
|
||||
|
||||
[soundcloud]
|
||||
auth_token = __SOUNDCLOUD__
|
|
@ -13,8 +13,10 @@ source /usr/share/yunohost/helpers
|
|||
domain=$(ynh_app_setting_get "$app" domain)
|
||||
|
||||
# Copy the app files
|
||||
final_path="/var/www/${app}"
|
||||
final_path="/opt/${app}"
|
||||
ynh_backup "$final_path" "sources" 1
|
||||
|
||||
# Copy the nginx conf files
|
||||
ynh_backup "/etc/nginx/conf.d/${domain}.d/${app}.conf" "nginx.conf"
|
||||
ynh_backup "/etc/nginx/conf.d/${domain}.d/${app}.conf" "nginx.conf"
|
||||
# Copy service
|
||||
ynh_backup "/etc/systemd/system/${app}.service" "systemd_${app}.service"
|
Loading…
Add table
Reference in a new issue