From b8fa10c4dbba29a2c050ccbad9302c410e7b4b85 Mon Sep 17 00:00:00 2001 From: Helder Oliveira Date: Tue, 12 Sep 2023 17:57:42 +0100 Subject: [PATCH] =?UTF-8?q?refactor:=20=F0=9F=92=A1=20add=20find=20replace?= =?UTF-8?q?=20config.toml=20instructions=20for=20update=20document?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- references/Lightning CLI/update-cli-from-source-code.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/references/Lightning CLI/update-cli-from-source-code.md b/references/Lightning CLI/update-cli-from-source-code.md index 7fc9489f9..252e09773 100644 --- a/references/Lightning CLI/update-cli-from-source-code.md +++ b/references/Lightning CLI/update-cli-from-source-code.md @@ -16,6 +16,7 @@ tags: import Author from '@site/src/components/Author'; import SetUserPathInConfigToml from '../../guides/partials/_set-user-path-config-toml.mdx'; import NoteExecStartFlagCConfigPath from '../../guides/partials/_note_execstart-flag-c-config-path.mdx'; +import FindAndReplaceConfigWithUserPaths from '../../guides/partials/_find-and-replace-config-with-user-paths.mdx'; :::tip Although the step-by-step instructions described here are simple to follow, this process is available as an automated script. To use it execute the following command in your server terminal and follow the instructions: @@ -166,6 +167,10 @@ Depending on how you control the system, this might need **sudo**. sudo rm -rf ~/.lightning/data ``` +## Update the `config.toml` with user home path + + + ## Restart the service 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: