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:
parent
9c151c6f00
commit
370b824d0b
1 changed files with 4 additions and 3 deletions
|
@ -57,12 +57,13 @@ chmod +x $install_dir/xftp-server
|
|||
# SPECIFIC SETUP
|
||||
#=================================================
|
||||
|
||||
public_ip4="$(curl -s ip.yunohost.org)" || true
|
||||
ynh_app_setting_set --app=$app --key=public_ip4 --value=$public_ip4
|
||||
|
||||
if [ ! -f /etc/opt/simplex-xftp ]; then
|
||||
|
||||
mkdir -p "/etc/opt/simplex-xftp"
|
||||
|
||||
public_ip4="$(curl -s ip.yunohost.org)" || true
|
||||
ynh_app_setting_set --app=$app --key=public_ip4 --value=$public_ip4
|
||||
|
||||
pushd "$install_dir"
|
||||
./xftp-server init --ip $public_ip4 --quota '20gb' --store-log --path $data_dir
|
||||
popd
|
||||
|
|
Loading…
Add table
Reference in a new issue