1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/owncast_ynh.git synced 2024-09-03 19:56:20 +02:00

Open port

This commit is contained in:
ericgaspar 2021-08-07 09:32:13 +02:00
parent e91f2b1d43
commit bf92786cb4

View file

@ -65,7 +65,11 @@ ynh_app_setting_set --app=$app --key=port --value=$port
# Find an available port for stream
stream_port=$(ynh_find_port --port=1935)
ynh_app_setting_set --app=$app --key=turn_port --value=$stream_port
ynh_app_setting_set --app=$app --key=stream_port --value=$stream_port
# Open the port
ynh_script_progression --message="Configuring firewall..." --weight=1
ynh_exec_warn_less yunohost firewall allow --no-upnp TCP $stream_port
#=================================================
# INSTALL DEPENDENCIES