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
cc43453c53
commit
4d802e13e5
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ ynh_app_setting_set --app=$app --key=port --value=$port
|
||||||
if [ $mpd_port -eq 1 ]; then
|
if [ $mpd_port -eq 1 ]; then
|
||||||
mpd_port=$(ynh_find_port --port=6600)
|
mpd_port=$(ynh_find_port --port=6600)
|
||||||
ynh_app_setting_set --app=$app --key=mpd_port --value=$mpd_port
|
ynh_app_setting_set --app=$app --key=mpd_port --value=$mpd_port
|
||||||
ynh_exec_warn_less yunohost firewall allow --no-upnp Both $mpd_port
|
ynh_exec_warn_less yunohost firewall allow --no-upnp TCP $mpd_port
|
||||||
mpd_state="true"
|
mpd_state="true"
|
||||||
else
|
else
|
||||||
mpd_state="false"
|
mpd_state="false"
|
||||||
|
|
Loading…
Add table
Reference in a new issue