From 206ad21b0b28aeec126180196b35cb43aaaaa94d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 23 May 2023 17:15:04 +0200 Subject: [PATCH] fix --- manifest.toml | 2 ++ scripts/install | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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)