From 92b935d547cd86502e9ab62a9884bce1b5f86cae Mon Sep 17 00:00:00 2001 From: Moul Date: Mon, 2 May 2022 19:23:08 +0200 Subject: [PATCH] [doc] Disclaimer: How to run Duniter commands with 'duniter' user Remove oudated Cesium module installation method. --- README.md | 6 +++--- README_fr.md | 6 +++--- doc/DISCLAIMER.md | 5 ++--- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 7c8ba88..069e3b8 100644 --- a/README.md +++ b/README.md @@ -28,16 +28,16 @@ Crypto-currency software to operate Ğ1 libre currency ## Disclaimers / important information ## Configurations -- In order to compute blocks you will have to set your member credentials with `duniter wizard key` or from the webadmin. +- In order to compute blocks you will have to set your member credentials with `sudo su - duniter -c "duniter wizard key"` or from the webadmin. - The BMA API is accessible from `https://duniter.domain.tld/` if enabled. - **Warning**: In case the Webui tells you your network configuration is wrong and proposes to correct it, do not apply it, otherwise it breaks the specific configuration made for this package. You can manually reset the configuration with following command: -`duniter config --bma --ipv4 127.0.0.1 --port CHOSEN_PORT --remoteh YOUR_DOMAIN --remotep 443 --noupnp` +`sudo su - duniter -c "duniter config --bma --ipv4 127.0.0.1 --port CHOSEN_PORT --remoteh YOUR_DOMAIN --remotep 443 --noupnp"` ## Cesium Cesium is a wallet webapp. You can install it with: - [With the YunoHost app](https://github.com/YunoHost-Apps/cesium_ynh) - + ## Documentation and resources * Official app website: https://duniter.org diff --git a/README_fr.md b/README_fr.md index 8951dbe..c489158 100644 --- a/README_fr.md +++ b/README_fr.md @@ -24,16 +24,16 @@ Logiciel de cryptomonnaie pour faire fonctionner la monnaie libre Ğ1 ## Avertissements / informations importantes ## Configurations -- In order to compute blocks you will have to set your member credentials with `duniter wizard key` or from the webadmin. +- In order to compute blocks you will have to set your member credentials with `sudo su - duniter -c "duniter wizard key"` or from the webadmin. - The BMA API is accessible from `https://duniter.domain.tld/` if enabled. - **Warning**: In case the Webui tells you your network configuration is wrong and proposes to correct it, do not apply it, otherwise it breaks the specific configuration made for this package. You can manually reset the configuration with following command: -`duniter config --bma --ipv4 127.0.0.1 --port CHOSEN_PORT --remoteh YOUR_DOMAIN --remotep 443 --noupnp` +`sudo su - duniter -c "duniter config --bma --ipv4 127.0.0.1 --port CHOSEN_PORT --remoteh YOUR_DOMAIN --remotep 443 --noupnp"` ## Cesium Cesium is a wallet webapp. You can install it with: - [With the YunoHost app](https://github.com/YunoHost-Apps/cesium_ynh) - + ## Documentations et ressources * Site officiel de l'app : https://duniter.org diff --git a/doc/DISCLAIMER.md b/doc/DISCLAIMER.md index 997a8f9..442b96d 100644 --- a/doc/DISCLAIMER.md +++ b/doc/DISCLAIMER.md @@ -1,11 +1,10 @@ ## Configurations -- In order to compute blocks you will have to set your member credentials with `duniter wizard key` or from the webadmin. +- In order to compute blocks you will have to set your member credentials with `sudo su - duniter -c "duniter wizard key"` or from the webadmin. - The BMA API is accessible from `https://duniter.domain.tld/` if enabled. - **Warning**: In case the Webui tells you your network configuration is wrong and proposes to correct it, do not apply it, otherwise it breaks the specific configuration made for this package. You can manually reset the configuration with following command: -`duniter config --bma --ipv4 127.0.0.1 --port CHOSEN_PORT --remoteh YOUR_DOMAIN --remotep 443 --noupnp` +`sudo su - duniter -c "duniter config --bma --ipv4 127.0.0.1 --port CHOSEN_PORT --remoteh YOUR_DOMAIN --remotep 443 --noupnp"` ## Cesium Cesium is a wallet webapp. You can install it with: - [With the YunoHost app](https://github.com/YunoHost-Apps/cesium_ynh) - \ No newline at end of file