Merge fort-nix/nix-bitcoin#789: clightning: increase service start timeout
4763e2e8f0clightning: increase service start timeout (Erik Arvstedt) Pull request description: ACKs for top commit: jonasnick: ACK4763e2e8f0Tree-SHA512: 9b14ba275479a30bd64368f419b8661d6f46a32a60ef5ebf85c95d41c5c54e93d11665a77d4c6adee7f4c107cafa0dea77d1de7fd9a40feb05bb758674f73d41
This commit is contained in:
commit
b5142a1498
1 changed files with 2 additions and 0 deletions
|
|
@ -184,6 +184,8 @@ in {
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
RestartSec = "10s";
|
RestartSec = "10s";
|
||||||
ReadWritePaths = [ cfg.dataDir ];
|
ReadWritePaths = [ cfg.dataDir ];
|
||||||
|
# DB upgrades or recovery after a crash can take a while
|
||||||
|
TimeoutStartSec = "10m";
|
||||||
} // nbLib.allowedIPAddresses cfg.tor.enforce;
|
} // nbLib.allowedIPAddresses cfg.tor.enforce;
|
||||||
# Wait until the rpc socket appears
|
# Wait until the rpc socket appears
|
||||||
postStart = ''
|
postStart = ''
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue