diff --git a/conf/file-server.ini b/conf/file-server.ini index dca8dc4..f8730f1 100644 --- a/conf/file-server.ini +++ b/conf/file-server.ini @@ -24,7 +24,7 @@ new_files: on [TRANSPORT] # host is only used to print server address on start host: __PUBLIC_IP4__ -port: __PORT__ +port: __PORT_XFTP__ log_tls_errors: off [FILES] diff --git a/scripts/install b/scripts/install index 51650e4..bb1d2a8 100755 --- a/scripts/install +++ b/scripts/install @@ -43,7 +43,7 @@ ynh_app_setting_set --app=$app --key=fingerprint --value=$fingerprint xftp_fingerprint=$(cat /etc/opt/simplex-xftp/fingerprint) ynh_app_setting_set --app=$app --key=xftp_fingerprint --value=$xftp_fingerprint -ynh_replace_string --match_string="port: 443" --replace_string="port:$port_xftp" --target_file=target_file +#ynh_replace_string --match_string="port: 443" --replace_string="port:$port_xftp" --target_file="/etc/opt/simplex-xftp/file-server.ini" chown -R $app:$app "/etc/opt/simplex" chown -R $app:$app "/etc/opt/simplex-xftp"