add RestartMode=direct

This commit is contained in:
Tom Barrett 2024-10-05 21:01:18 +02:00
parent a0d36d5924
commit db9c3b880c
2 changed files with 2 additions and 0 deletions

View File

@ -96,6 +96,7 @@ in {
User = clightning.user;
Restart = "on-failure";
RestartSec = "10s";
RestartMode = "direct";
ReadWritePaths = [ cfg.dataDir ];
inherit (nbLib.allowNetlink) RestrictAddressFamilies;
} // nbLib.allowedIPAddresses cfg.tor.enforce

View File

@ -209,6 +209,7 @@ in {
User = cfg.user;
Restart = "on-failure";
RestartSec = "10s";
RestartMode = "direct";
ReadWritePaths = [ cfg.dataDir ];
} // nbLib.allowedIPAddresses cfg.tor.enforce
// nbLib.nodejs;