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
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue