diff --git a/manifest.toml b/manifest.toml index bde073e..016ee62 100644 --- a/manifest.toml +++ b/manifest.toml @@ -59,4 +59,6 @@ ram.runtime = "50M" [resources.install_dir] dir = "/usr/local/bin/__APP__" + [resources.data_dir] + [resources.permissions] diff --git a/scripts/install b/scripts/install index e66f15b..491504a 100755 --- a/scripts/install +++ b/scripts/install @@ -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)