lnd+signal: implement systemd notify
This adds support for notifying systemd about the state of LND. It notifies systemd just before waiting for wallet password or, if `wallet-password-file` was specified, right after unlocking the wallet. This means that "ready" represents RPC being available for intended use. It's intentional, so that client services can use `After=` in `systemd` configuration to avoid misleading error messages about missing files or refused connections. Part of #4470
This commit is contained in:
1 parent
9e8b9ccd4c
commit
4bcb32753f
4 files changed
+96
-2
No files matched your search
@@ -25,6 +25,12 @@ for more information.
|
||||
* [Stub code for interacting with `lnrpc` from a WASM context through JSON
|
||||
messages was added](https://github.com/lightningnetwork/lnd/pull/5601).
|
||||
|
||||
* LND now [reports to systemd](https://github.com/lightningnetwork/lnd/pull/5536)
|
||||
that RPC is ready (port bound, certificate generated, macaroons created,
|
||||
in case of `wallet-unlock-password-file` wallet unlocked). This can be used to
|
||||
avoid misleading error messages from dependent services if they use `After`
|
||||
systemd option.
|
||||
|
||||
## Wallet
|
||||
|
||||
* It is now possible to fund a psbt [without specifying any
|
||||
|
||||
Reference in new issue
Block a user