mirror of
https://github.com/YunoHost-Apps/simplex_ynh.git
synced 2024-09-03 20:26:28 +02:00
fix
This commit is contained in:
parent
a3c8e40cc4
commit
1f1a06111b
2 changed files with 1 additions and 4 deletions
|
@ -54,9 +54,6 @@ ram.runtime = "50M"
|
||||||
main.default = 5223
|
main.default = 5223
|
||||||
main.exposed = "TCP"
|
main.exposed = "TCP"
|
||||||
|
|
||||||
[install.domain]
|
|
||||||
type = "domain"
|
|
||||||
|
|
||||||
[resources.system_user]
|
[resources.system_user]
|
||||||
|
|
||||||
[resources.install_dir]
|
[resources.install_dir]
|
||||||
|
|
|
@ -31,7 +31,7 @@ pushd "$install_dir"
|
||||||
public_ip4="$(curl -s ip.yunohost.org)" || true
|
public_ip4="$(curl -s ip.yunohost.org)" || true
|
||||||
ynh_app_setting_set --app=$app --key=public_ip4 --value=$public_ip4
|
ynh_app_setting_set --app=$app --key=public_ip4 --value=$public_ip4
|
||||||
./smp-server init --no-password --ip $public_ip4 -y
|
./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
|
popd
|
||||||
|
|
||||||
fingerprint=$(cat /etc/opt/simplex/fingerprint)
|
fingerprint=$(cat /etc/opt/simplex/fingerprint)
|
||||||
|
|
Loading…
Add table
Reference in a new issue