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 17:49:05 +02:00
parent a3c8e40cc4
commit 1f1a06111b
2 changed files with 1 additions and 4 deletions

View file

@ -54,9 +54,6 @@ ram.runtime = "50M"
main.default = 5223
main.exposed = "TCP"
[install.domain]
type = "domain"
[resources.system_user]
[resources.install_dir]

View file

@ -31,7 +31,7 @@ pushd "$install_dir"
public_ip4="$(curl -s ip.yunohost.org)" || true
ynh_app_setting_set --app=$app --key=public_ip4 --value=$public_ip4
./smp-server init --no-password --ip $public_ip4 -y
./xftp-server init --ip $public_ip4 --fqdn $domain --quota '20gb' --store-log --path $data_dir
./xftp-server init --ip $public_ip4 --quota '20gb' --store-log --path $data_dir
popd
fingerprint=$(cat /etc/opt/simplex/fingerprint)