mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-26 01:33:02 +01:00
signal: clarify the log message about systemd
The log message was confusing because it was emitted even when running within systemd if the service type was **not** `notify`. This clarifies the message by mentioning the edge case. Being able to distinguish the two cases would be nicer but there doesn't seem to be a reasonably simple, obvious, reliable way to do it. Complicated solutions are most likely not worth it for a simple log message.
This commit is contained in:
parent
3e57d1d416
commit
17cf90ee34
@ -42,6 +42,9 @@
|
||||
* [Ensure that the min relay fee is always clamped by our fee
|
||||
floor](https://github.com/lightningnetwork/lnd/pull/6076)
|
||||
|
||||
* [Clarify log message about not running within
|
||||
systemd](https://github.com/lightningnetwork/lnd/pull/6096)
|
||||
|
||||
## RPC Server
|
||||
|
||||
* [ChanStatusFlags is now
|
||||
|
@ -42,7 +42,8 @@ func systemdNotifyReady() error {
|
||||
if notified {
|
||||
log.Info("Systemd was notified about our readiness")
|
||||
} else {
|
||||
log.Info("We're not running within systemd")
|
||||
log.Info("We're not running within systemd or the service " +
|
||||
"type is not 'notify'")
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user