lnd: suspend service start until clock sync
ndg release v0.6.0 introduced a mechanism in which LND TLS cert is regenerated if ndg's HTTP client refuses to initialize TLS certs bundle in https://git.qcode.ch/nakamochi/ndg/commit/b57ebacd in most cases, it is due to outdated cert's notAfter. however, because raspberry pi cannot preserve current system time, it starts from year 1969 and the TLS client init fails. the latter leads to ndg forcing LND to regenerate the certs to no avail because the system time isn't syncronized yet. simple solution: wait to start LND service until the system clock is in sync.dev
parent
9861dbebcd
commit
8d6ec7b624
Loading…
Reference in New Issue