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:
Erik Arvstedt 2022-02-28 14:01:54 +01:00
parent 59bf0274c0
commit 2493c8c201
No known key found for this signature in database
GPG Key ID: 33312B944DD97846

View File

@ -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;