1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/simplex_ynh.git synced 2024-09-03 20:26:28 +02:00

Update upgrade

This commit is contained in:
Éric Gaspar 2023-06-20 10:32:09 +02:00
parent b415ce09de
commit d615232122

View file

@ -63,7 +63,7 @@ chmod +x $install_dir/xftp-server
public_ip4="$(curl -s ip.yunohost.org)" || true
ynh_app_setting_set --app=$app --key=public_ip4 --value=$public_ip4
if [ -z "/etc/opt/simplex-xftp" ]; then
#if [ -z "/etc/opt/simplex-xftp" ]; then
mkdir -p "/etc/opt/simplex-xftp"
pushd "$install_dir"
./xftp-server init --ip $public_ip4 --quota '20gb' --store-log --path $data_dir
@ -76,7 +76,7 @@ if [ -z "/etc/opt/simplex-xftp" ]; then
#chown -R $app:$app "/etc/opt/simplex-xftp"
chown -R $app:$app /etc/opt/simplex-xftp /var/opt/simplex-xftp
fi
#fi
#=================================================
# ADD A CONFIGURATION