You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
alex 8d6ec7b624
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.
1 year ago
..
env lnd: suspend service start until clock sync 1 year ago