From 209a703a0f7836e2761ec56159f1e20882bb766e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 3 Mar 2023 20:02:02 +0100 Subject: [PATCH] fix --- doc/ADMIN.md | 2 +- doc/ADMIN_fr.md | 2 +- scripts/install | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/ADMIN.md b/doc/ADMIN.md index 4ad6e41..5e05755 100644 --- a/doc/ADMIN.md +++ b/doc/ADMIN.md @@ -5,7 +5,7 @@ You can find the fingerprint in the SimpleX Chat service in the webadmin Your SMP server address should look like this: ``` -smp://__FINGERPRINT__=@YOUR_IPV4_ADDRESS:5223 +smp://__FINGERPRINT__=@__PUBLIC_IP4__:__PORT__ ``` For mobile clients, open Settings, find an option "SMP servers", toggle "Configure SMP Servers" to on, then enter the SMP Servers Address for all servers you want the client to use. diff --git a/doc/ADMIN_fr.md b/doc/ADMIN_fr.md index 3b08a3f..532b2fb 100644 --- a/doc/ADMIN_fr.md +++ b/doc/ADMIN_fr.md @@ -5,7 +5,7 @@ Vous pouvez trouver l'empreinte digitale dans le service SimpleX Chat dans la we L'adresse de votre serveur SMP devrait ressembler à ceci : ``` -smp://__FINGERPRINT__=@YOUR_IPV4_ADDRESS:5223 +smp://__FINGERPRINT__=@__PUBLIC_IP4__:__PORT__ ``` Pour les clients mobiles, ouvrez Paramètres, recherchez une option "Serveurs SMP", activez "Configurer les serveurs SMP", puis entrez l'adresse des serveurs SMP pour tous les serveurs que vous souhaitez que le client utilise. diff --git a/scripts/install b/scripts/install index 5ed5a28..4b4436a 100755 --- a/scripts/install +++ b/scripts/install @@ -29,7 +29,8 @@ pushd "$install_dir" public_ip4="$(curl -s ip.yunohost.org)" || true ./smp-server init --no-password --ip $public_ip4 -y popd -fingerprint=$( cat /etc/opt/simplex/fingerprint ) + +fingerprint=$(cat /etc/opt/simplex/fingerprint) chown -R $app:$app "/etc/opt/simplex"