From 2aa5cfb6656e495aa7cc1df4b5528c073e551238 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:24:23 +0200 Subject: [PATCH] Update install --- scripts/install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 491504a..09a053c 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 $data_dir + ./xftp-server init --no-password --ip $public_ip4 -q '20gb' --store-log --path $data_dir popd fingerprint=$(cat /etc/opt/simplex/fingerprint) @@ -41,6 +41,7 @@ xftp_fingerprint=$(cat /etc/opt/simplex-xftp/fingerprint) ynh_app_setting_set --app=$app --key=xftp_fingerprint --value=$xftp_fingerprint chown -R $app:$app "/etc/opt/simplex" +chown -R $app:$app "/etc/opt/simplex-xftp" #================================================= # SYSTEM CONFIGURATION