1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/simplex_ynh.git synced 2024-09-03 20:26:28 +02:00
This commit is contained in:
Éric Gaspar 2023-05-23 18:19:32 +02:00
parent a6b4eb6339
commit d9c13a9693
2 changed files with 2 additions and 2 deletions

View file

@ -24,7 +24,7 @@ new_files: on
[TRANSPORT] [TRANSPORT]
# host is only used to print server address on start # host is only used to print server address on start
host: __PUBLIC_IP4__ host: __PUBLIC_IP4__
port: __PORT__ port: __PORT_XFTP__
log_tls_errors: off log_tls_errors: off
[FILES] [FILES]

View file

@ -43,7 +43,7 @@ ynh_app_setting_set --app=$app --key=fingerprint --value=$fingerprint
xftp_fingerprint=$(cat /etc/opt/simplex-xftp/fingerprint) xftp_fingerprint=$(cat /etc/opt/simplex-xftp/fingerprint)
ynh_app_setting_set --app=$app --key=xftp_fingerprint --value=$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"
chown -R $app:$app "/etc/opt/simplex-xftp" chown -R $app:$app "/etc/opt/simplex-xftp"