1
0
Fork 0
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:
siwinter 2021-08-25 16:01:55 +02:00 committed by GitHub
parent cc43453c53
commit 4d802e13e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"