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]
|
[spotify]
|
||||||
username = __USER_SPOTIFY__
|
username = __USER_SPOTIFY__
|
||||||
password = __PWD_SPOTIFY__
|
password = __PWD_SPOTIFY__
|
||||||
|
client_id = __ID_SPOTIFY__
|
||||||
|
client_secret = __SECRET_SPOTIFY__
|
||||||
#bitrate = 320
|
#bitrate = 320
|
||||||
#timeout = 10
|
#timeout = 10
|
||||||
#cache_dir = $XDG_CACHE_DIR/mopidy/spotify
|
#cache_dir = $XDG_CACHE_DIR/mopidy/spotify
|
||||||
|
|
||||||
[spotify_web]
|
|
||||||
client_id = __ID_SPOTIFY__
|
|
||||||
client_secret = __SECRET_SPOTIFY__
|
|
||||||
|
|
||||||
[soundcloud]
|
[soundcloud]
|
||||||
auth_token = __SOUNDCLOUD__
|
auth_token = __SOUNDCLOUD__
|
|
@ -13,8 +13,10 @@ source /usr/share/yunohost/helpers
|
||||||
domain=$(ynh_app_setting_get "$app" domain)
|
domain=$(ynh_app_setting_get "$app" domain)
|
||||||
|
|
||||||
# Copy the app files
|
# Copy the app files
|
||||||
final_path="/var/www/${app}"
|
final_path="/opt/${app}"
|
||||||
ynh_backup "$final_path" "sources" 1
|
ynh_backup "$final_path" "sources" 1
|
||||||
|
|
||||||
# Copy the nginx conf files
|
# 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