diff --git a/modules/clightning-rest.nix b/modules/clightning-rest.nix index c15ecdb2f..e8b543780 100644 --- a/modules/clightning-rest.nix +++ b/modules/clightning-rest.nix @@ -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 diff --git a/modules/rtl.nix b/modules/rtl.nix index 66c917948..794da8a30 100644 --- a/modules/rtl.nix +++ b/modules/rtl.nix @@ -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;