1
0
Fork 0
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:
liberodark 2018-11-22 22:06:25 +01:00
parent f70aa3138d
commit 5b999dda77

View file

@ -64,10 +64,10 @@ ynh_app_setting_set $app is_public $is_public
### - Remove the section "CLOSE A PORT" in the remove script
# Find a free port
port=$(ynh_find_port 443)
#port=$(ynh_find_port 443)
# Open this port
yunohost firewall allow --no-upnp TCP $port 2>&1
ynh_app_setting_set $app port $port
#yunohost firewall allow --no-upnp TCP $port 2>&1
#ynh_app_setting_set $app port $port
#==============================================
# 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.
# 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"
#=================================================