From 99f1dc0bff9a9a098a30811f887aa4ec549d3e93 Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Tue, 5 Jul 2022 13:04:18 +0200 Subject: [PATCH] bitcoind, liquidd: increase `TimeoutStartSec` I've just seen `liquidd` hit the timeout on nixbitcoin.org while `Loading block index`. This was probably due to HDD contention while starting services during boot. --- modules/bitcoind.nix | 2 +- modules/liquid.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/bitcoind.nix b/modules/bitcoind.nix index 51e5265..24a1832 100644 --- a/modules/bitcoind.nix +++ b/modules/bitcoind.nix @@ -418,7 +418,7 @@ in { NotifyAccess = "all"; User = cfg.user; Group = cfg.group; - TimeoutStartSec = "5min"; + TimeoutStartSec = "10min"; TimeoutStopSec = "10min"; ExecStart = "${cfg.package}/bin/bitcoind -datadir='${cfg.dataDir}'"; Restart = "on-failure"; diff --git a/modules/liquid.nix b/modules/liquid.nix index ee3ff22..f5ffb14 100644 --- a/modules/liquid.nix +++ b/modules/liquid.nix @@ -270,7 +270,7 @@ in { NotifyAccess = "all"; User = cfg.user; Group = cfg.group; - TimeoutStartSec = "5min"; + TimeoutStartSec = "10min"; TimeoutStopSec = "10min"; ExecStart = "${nbPkgs.elementsd}/bin/elementsd -datadir='${cfg.dataDir}'"; Restart = "on-failure";