LIGHTNING-STOP(7)

πŸ“¦
version 26.06.9 Β· 2 versions
, in nixpkgs unstable

πŸ’… LIGHTNING-STOP(7) β€” bestie's guide to the stop page πŸ›‘βœ¨

okay so this is lightning-stop, aka page 7 of the Core Lightning manual, and honestly? it's a short one. we love a concise queen. πŸŽ€


✨ NAME ✨

stop β€” the command that shuts down your Core Lightning node. like, actually turns it off. no cap. πŸ”Œ


🌸 SYNOPSIS 🌸

stop

that's it. that's the whole synopsis. iconic minimalist behaviour tbh. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so stop is an RPC command whose entire personality is shutting off the Core Lightning node. that's the job. that's the whole vibe. it does not do anything else, and we respect it for that. 🫢


⭐ RETURN VALUE ⭐

when it works (and it's giving main character energy when it works), you get back an object. here's the tea:

  • result (string) β€” always the string "Shutdown complete". always. it's not negotiable, it's not customizable, it's a fixed line and it knows it. (added in v24.05, so if you're on something older, surprise, this field wasn't a thing yet 😭)

πŸ”₯ EXAMPLES πŸ”₯

Example 1:

Request:

$ lightning-cli stop
{
  "id": "example:stop#1",
  "method": "stop",
  "params": {}
}

Response:

{
  "result": "Shutdown complete"
}

see? clean. params is literally an empty object and the response is literally one line. flawless. 🌈


πŸ‘‘ SEE ALSO πŸ‘‘


🧚 RESOURCES 🧚

Main web site: https://github.com/ElementsProject/lightning β€” click it, browse it, live your truth πŸ¦‹


πŸ’– AUTHOR πŸ’–

Vincenzo Palazzo <vincenzo.palazzo@protonmail.com> wrote the initial version of this man page, but many others did the hard work of actually implementing this rpc command. shoutout to the whole squad, fr fr πŸ™ˆπŸ’


okay that's the whole page and yes it's short but it's perfect and i'm obsessed with it. this was Core Lightning v26.06.9, and you just read LIGHTNING-STOP(7). slay, bye bestie πŸ’…βœ¨πŸ“

πŸ“¦ where this page comes from