mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-12-28 01:24:42 +01:00
ba7d4a8f6b
We were including the entire list of prerequisites when generating a shastamp, which for schemas includes the `tools/fromschema.py` doc. This meant all of our shasums were updating anytime this tool file changed. Instead, we just include the first prerequisite. See: https://www.gnu.org/software/make/manual/html_node/Automatic-Variables.html#Automatic-Variables
46 lines
1006 B
Markdown
46 lines
1006 B
Markdown
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
|
|
------------
|
|
```json
|
|
{
|
|
"id": 82,
|
|
"method": "stop",
|
|
"params": {}
|
|
}
|
|
```
|
|
|
|
RETURN VALUE
|
|
------------
|
|
|
|
[comment]: # (GENERATE-FROM-SCHEMA-START)
|
|
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>
|
|
[comment]: # ( SHA256STAMP:a83ac745b36e0e3d00ba11f036cec93973773f47e1265eb5c70a3d3298e58e4b)
|