liquidd: add service timeouts like in bitcoind
Previously, liquidd could fail with error: liquidd.service: start operation timed out. Terminating.
This commit is contained in:
parent
59bf0274c0
commit
2493c8c201
@ -270,6 +270,8 @@ in {
|
||||
NotifyAccess = "all";
|
||||
User = cfg.user;
|
||||
Group = cfg.group;
|
||||
TimeoutStartSec = "5min";
|
||||
TimeoutStopSec = "10min";
|
||||
ExecStart = "${nbPkgs.elementsd}/bin/elementsd -datadir='${cfg.dataDir}'";
|
||||
Restart = "on-failure";
|
||||
ReadWritePaths = cfg.dataDir;
|
||||
|
Loading…
Reference in New Issue
Block a user