bitcoind: improve service timeouts
- Improve readability by using minutes - set `TimeoutStopSec` like in bitcoin/contrib/init/bitcoind.service. Stopping bitcoind can exceed the default timeout during IBD.
This commit is contained in:
parent
09cd3ce5e4
commit
cdf27d9d0c
@ -351,7 +351,8 @@ in {
|
||||
NotifyAccess = "all";
|
||||
User = cfg.user;
|
||||
Group = cfg.group;
|
||||
TimeoutStartSec = 300;
|
||||
TimeoutStartSec = "5min";
|
||||
TimeoutStopSec = "10min";
|
||||
ExecStart = "${cfg.package}/bin/bitcoind -datadir='${cfg.dataDir}'";
|
||||
Restart = "on-failure";
|
||||
UMask = mkIf cfg.dataDirReadableByGroup "0027";
|
||||
|
Loading…
Reference in New Issue
Block a user