1
0
Fork 0
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:
Éric Gaspar 2023-03-04 11:31:48 +01:00
parent 23049abf25
commit 170e5fc599

View file

@ -27,11 +27,11 @@ chmod +x $install_dir/smp-server
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
popd
fingerprint=$(cat /etc/opt/simplex/fingerprint)
ynh_app_setting_set --app=$app --key=public_ip4 --value=$public_ip4
ynh_app_setting_set --app=$app --key=fingerprint --value=$fingerprint
chown -R $app:$app "/etc/opt/simplex"