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
7e6e4f8042
commit
206ad21b0b
2 changed files with 3 additions and 1 deletions
|
@ -59,4 +59,6 @@ ram.runtime = "50M"
|
|||
[resources.install_dir]
|
||||
dir = "/usr/local/bin/__APP__"
|
||||
|
||||
[resources.data_dir]
|
||||
|
||||
[resources.permissions]
|
||||
|
|
|
@ -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 -q '20gb' --store-log --path /srv/xftp "$@"
|
||||
./xftp-server init --ip $public_ip4 -q '20gb' --store-log --path $data_dir
|
||||
popd
|
||||
|
||||
fingerprint=$(cat /etc/opt/simplex/fingerprint)
|
||||
|
|
Loading…
Add table
Reference in a new issue