mirror of
https://github.com/YunoHost-Apps/mopidy_ynh.git
synced 2024-09-03 19:46:21 +02:00
MPD extension
This commit is contained in:
parent
e6b84c2a86
commit
ffcc6dd686
1 changed files with 2 additions and 1 deletions
|
@ -65,13 +65,14 @@ ynh_app_setting_set --app=$app --key=port --value=$port
|
|||
|
||||
if [ $mpd_port -eq 1 ]; then
|
||||
mpd_port=$(ynh_find_port --port=6600)
|
||||
ynh_app_setting_set --app=$app --key=mpd_port --value=$mpd_port
|
||||
ynh_exec_warn_less yunohost firewall allow --no-upnp TCP $mpd_port
|
||||
mpd_state="true"
|
||||
else
|
||||
mpd_state="false"
|
||||
fi
|
||||
|
||||
ynh_app_setting_set --app=$app --key=mpd_port --value=$mpd_port
|
||||
|
||||
#=================================================
|
||||
# INSTALL DEPENDENCIES
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue