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-26 00:23:54 +02:00 committed by GitHub
parent ffcc6dd686
commit 66d2d05b49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -90,9 +90,9 @@ chown -R $app:www-data "$final_path"
#================================================= #=================================================
# OPEN PORT # OPEN PORT
#================================================= #=================================================
ynh_script_progression --message="open port $mpd_port..." --weight=1
if [ $mpd_port -ne 0 ]; then if [ $mpd_port -ne 0 ]; then
ynh_script_progression --message="open MPD-port $mpd_port..." --weight=1
ynh_exec_warn_less yunohost firewall allow --no-upnp TCP $mpd_port ynh_exec_warn_less yunohost firewall allow --no-upnp TCP $mpd_port
fi fi