mirror of
https://github.com/YunoHost-Apps/calibreweb_ynh.git
synced 2024-09-03 18:16:20 +02:00
Port shouldn't be opened on the firewall ... it supposed to be only there for reverse proxying
This commit is contained in:
parent
3f44ce91e5
commit
7a13f62fef
1 changed files with 1 additions and 2 deletions
|
@ -67,14 +67,13 @@ ynh_app_setting_set $app is_public $is_public
|
||||||
#=================================================
|
#=================================================
|
||||||
# STANDARD MODIFICATIONS
|
# STANDARD MODIFICATIONS
|
||||||
#=================================================
|
#=================================================
|
||||||
# FIND AND OPEN A PORT
|
# FIND AN AVAILABLE PORT
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
# Find a free port
|
# Find a free port
|
||||||
port=$(ynh_find_port 8083)
|
port=$(ynh_find_port 8083)
|
||||||
# Open this port
|
# Open this port
|
||||||
ynh_script_progression --message="Opening port $port..." --weight=5
|
ynh_script_progression --message="Opening port $port..." --weight=5
|
||||||
yunohost firewall allow --no-upnp TCP $port 2>&1
|
|
||||||
ynh_app_setting_set $app port $port
|
ynh_app_setting_set $app port $port
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue