add lnd TimoutSec

This commit is contained in:
kon 2021-10-12 21:56:15 +02:00
parent 06a971dfa9
commit 40ab4b368a

View File

@ -209,6 +209,7 @@ in {
RuntimeDirectoryMode = "711"; RuntimeDirectoryMode = "711";
ExecStart = "${cfg.package}/bin/lnd --configfile=${cfg.dataDir}/lnd.conf"; ExecStart = "${cfg.package}/bin/lnd --configfile=${cfg.dataDir}/lnd.conf";
User = cfg.user; User = cfg.user;
TimeoutSec = "15min";
Restart = "on-failure"; Restart = "on-failure";
RestartSec = "10s"; RestartSec = "10s";
ReadWritePaths = cfg.dataDir; ReadWritePaths = cfg.dataDir;