fix: address btcpay hardening review feedback

Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-08-11 02:44:12 +00:00
committed by GitHub
co-authored by naturallaw777
parent 05a42bcc4b
commit dcfee1fb32
2 changed files with 6 additions and 7 deletions
+2 -3
View File
@@ -264,9 +264,8 @@ in {
);
in rec {
wantedBy = [ "multi-user.target" ];
requires = [ "postgresql.target" ];
wants = [ "nbxplorer.service" ]
++ optional (cfg.btcpayserver.lightningBackend == "lnd") "lnd.service";
requires = [ "postgresql.target" "nbxplorer.service" ];
wants = optional (cfg.btcpayserver.lightningBackend == "lnd") "lnd.service";
after = requires ++ wants;
serviceConfig = nbLib.defaultHardening // {
ExecStart = ''