From 5a3c02d63ad3bab1f702a132eb570ca0b0e1eebf Mon Sep 17 00:00:00 2001 From: Helder Oliveira Date: Wed, 6 Sep 2023 12:31:47 +0100 Subject: [PATCH] =?UTF-8?q?docs:=20=F0=9F=93=9D=20amends=20on=20update=20c?= =?UTF-8?q?li=20reference?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Lightning CLI/update-cli-from-source-code.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/references/Lightning CLI/update-cli-from-source-code.md b/references/Lightning CLI/update-cli-from-source-code.md index 19a0b5818..bcbeb9cc3 100644 --- a/references/Lightning CLI/update-cli-from-source-code.md +++ b/references/Lightning CLI/update-cli-from-source-code.md @@ -15,7 +15,7 @@ tags: --> import Author from '@site/src/components/Author'; -## Switch to the installation user +## Switch to the installation user Switch to the username you've used throughout the installation process. @@ -29,7 +29,7 @@ For example, if you used the username `lgtn` it'll look like the following comma su lgtn ``` -## Change directory to the source code +## Change directory to the source code If you have installed it via the recommended process or instructions, then the default location where the [source code](https://github.com/fleek-network/lightning) is stored is `~/fleek-network/lightning`. @@ -61,9 +61,9 @@ To build the binary from the source code, we execute the cargo build command: cargo +stable build --release ``` -### Restart the service +## Restart the service -Once the cargo build process completes, you have to restart the service, as follows: +Once the cargo build process is completed, you have to restart the service. We're assuming you are using non-root user as [recommended](/docs/node/install#create-a-user), you won't use **sudo** to start the service. The command will look as follows: ```sh systemctl restart lightning @@ -73,7 +73,7 @@ systemctl restart lightning If you have installed the Fleek Network lightning manually, the [installation instructions](/docs/node/install#systemd-service-setup) recommended setting up a systemd service for the Fleek Network process. If you haven't, you're advised to check the instructions provided. ::: -### Health checkup +## Health checkup Do a quick health check by running: