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: