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";
|
NotifyAccess = "all";
|
||||||
User = cfg.user;
|
User = cfg.user;
|
||||||
Group = cfg.group;
|
Group = cfg.group;
|
||||||
|
TimeoutStartSec = "5min";
|
||||||
|
TimeoutStopSec = "10min";
|
||||||
ExecStart = "${nbPkgs.elementsd}/bin/elementsd -datadir='${cfg.dataDir}'";
|
ExecStart = "${nbPkgs.elementsd}/bin/elementsd -datadir='${cfg.dataDir}'";
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
ReadWritePaths = cfg.dataDir;
|
ReadWritePaths = cfg.dataDir;
|
||||||
|
Loading…
Reference in New Issue
Block a user