1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mopidy_ynh.git synced 2024-09-03 19:46:21 +02:00

test port

This commit is contained in:
siwinter 2021-08-25 23:16:53 +02:00 committed by GitHub
parent 5f677f824a
commit e6b84c2a86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -90,6 +90,7 @@ 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_exec_warn_less yunohost firewall allow --no-upnp TCP $mpd_port ynh_exec_warn_less yunohost firewall allow --no-upnp TCP $mpd_port