mirror of
https://github.com/YunoHost-Apps/codimd_ynh.git
synced 2024-09-03 18:16:32 +02:00
fix security issue
This commit is contained in:
parent
f70aa3138d
commit
5b999dda77
1 changed files with 4 additions and 4 deletions
|
@ -64,10 +64,10 @@ ynh_app_setting_set $app is_public $is_public
|
||||||
### - Remove the section "CLOSE A PORT" in the remove script
|
### - Remove the section "CLOSE A PORT" in the remove script
|
||||||
|
|
||||||
# Find a free port
|
# Find a free port
|
||||||
port=$(ynh_find_port 443)
|
#port=$(ynh_find_port 443)
|
||||||
# Open this port
|
# Open this port
|
||||||
yunohost firewall allow --no-upnp TCP $port 2>&1
|
#yunohost firewall allow --no-upnp TCP $port 2>&1
|
||||||
ynh_app_setting_set $app port $port
|
#ynh_app_setting_set $app port $port
|
||||||
|
|
||||||
#==============================================
|
#==============================================
|
||||||
# INSTALL POSTGRES
|
# INSTALL POSTGRES
|
||||||
|
@ -172,7 +172,7 @@ ynh_system_user_create $app
|
||||||
### you can make a backup of this file before modifying it again if the admin had modified it.
|
### you can make a backup of this file before modifying it again if the admin had modified it.
|
||||||
|
|
||||||
# Calculate and store the config file checksum into the app settings
|
# Calculate and store the config file checksum into the app settings
|
||||||
#ynh_store_file_checksum "/etc/onlyoffice/documentserver/nginx/onlyoffice-documentserver.conf"
|
ynh_store_file_checksum "$final_path/config.json"
|
||||||
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue