mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
eb6b8551d4
We only handle top-level objects with an array of objects: make sure it is one before we call the routines. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
1007 B
1007 B
lightning-stop -- Command to shutdown the Core Lightning node.
SYNOPSIS
stop
DESCRIPTION
The stop is a RPC command to shut off the Core Lightning node.
EXAMPLE JSON REQUEST
{
"id": 82,
"method": "stop",
"params": {}
}
RETURN VALUE
On success, returns a single element (string) (always "Shutdown complete") comment: # (GENERATE-FROM-SCHEMA-END)
Once it has returned, the daemon has cleaned up completely, and if desired may be restarted immediately.
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.
RESOURCES
Main web site: https://github.com/ElementsProject/lightning