mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-11 14:48:14 +01:00
lnrpc+rpc+lnd: add new Stop command for gracefully shutting down lnd
This commit adds simple non-blocking stop command to lncli, with an appropriate proto update and implementation within the rpcserver. When invoked the interrupt handler routine in signal.go with begin the graceful shutdown of lnd.
This commit is contained in:
committed by
Olaoluwa Osuntokun
parent
2a602b6d61
commit
aa4e166539
@@ -79,6 +79,7 @@ func main() {
|
||||
debugLevelCommand,
|
||||
decodePayReqComamnd,
|
||||
listChainTxnsCommand,
|
||||
stopCommand,
|
||||
}
|
||||
|
||||
if err := app.Run(os.Args); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user