core-lightning/doc/lightning-stop.7.md
Rusty Russell eb6b8551d4 tools/fromschema.py: don't try to handle more complex cases.
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>
2023-01-30 15:15:41 -06:00

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