core-lightning/doc/lightning-stop.7.md

46 lines
998 B
Markdown
Raw Normal View History

lightning-stop -- Command to shutdown the c-lightning node.
============================================================
SYNOPSIS
--------
**stop**
DESCRIPTION
-----------
The **stop** is a RPC command to shut off the c-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:e0a51d1bacb47191037431841eb36b348554cb40f8a291528f67f5beb718f6cf)