mirror of
https://github.com/YunoHost-Apps/simplex_ynh.git
synced 2024-09-03 20:26:28 +02:00
Update install
This commit is contained in:
parent
6b8e95d648
commit
2aa5cfb665
1 changed files with 2 additions and 1 deletions
|
@ -31,7 +31,7 @@ pushd "$install_dir"
|
||||||
public_ip4="$(curl -s ip.yunohost.org)" || true
|
public_ip4="$(curl -s ip.yunohost.org)" || true
|
||||||
ynh_app_setting_set --app=$app --key=public_ip4 --value=$public_ip4
|
ynh_app_setting_set --app=$app --key=public_ip4 --value=$public_ip4
|
||||||
./smp-server init --no-password --ip $public_ip4 -y
|
./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
|
popd
|
||||||
|
|
||||||
fingerprint=$(cat /etc/opt/simplex/fingerprint)
|
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
|
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"
|
||||||
|
chown -R $app:$app "/etc/opt/simplex-xftp"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SYSTEM CONFIGURATION
|
# SYSTEM CONFIGURATION
|
||||||
|
|
Loading…
Add table
Reference in a new issue