Rename service settings for 'node' to 'nodejs' to avoid confusion
This commit is contained in:
parent
469c1de6a9
commit
e1ee5023e2
@ -39,7 +39,7 @@ in {
|
|||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
RestartSec = "10s";
|
RestartSec = "10s";
|
||||||
} // nix-bitcoin-services.defaultHardening
|
} // nix-bitcoin-services.defaultHardening
|
||||||
// nix-bitcoin-services.node
|
// nix-bitcoin-services.nodejs
|
||||||
// nix-bitcoin-services.allowTor;
|
// nix-bitcoin-services.allowTor;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -75,7 +75,7 @@ in {
|
|||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
RestartSec = "10s";
|
RestartSec = "10s";
|
||||||
} // nix-bitcoin-services.defaultHardening
|
} // nix-bitcoin-services.defaultHardening
|
||||||
// nix-bitcoin-services.node
|
// nix-bitcoin-services.nodejs
|
||||||
// nix-bitcoin-services.allowTor;
|
// nix-bitcoin-services.allowTor;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -21,8 +21,8 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
inherit defaultHardening;
|
inherit defaultHardening;
|
||||||
# node applications apparently rely on memory write execute
|
# nodejs applications apparently rely on memory write execute
|
||||||
node = { MemoryDenyWriteExecute = "false"; };
|
nodejs = { MemoryDenyWriteExecute = "false"; };
|
||||||
# Allow tor traffic. Allow takes precedence over Deny.
|
# Allow tor traffic. Allow takes precedence over Deny.
|
||||||
allowTor = {
|
allowTor = {
|
||||||
IPAddressAllow = "127.0.0.1/32 ::1/128";
|
IPAddressAllow = "127.0.0.1/32 ::1/128";
|
||||||
|
@ -65,7 +65,7 @@ in {
|
|||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
RestartSec = "10s";
|
RestartSec = "10s";
|
||||||
} // nix-bitcoin-services.defaultHardening
|
} // nix-bitcoin-services.defaultHardening
|
||||||
// nix-bitcoin-services.node
|
// nix-bitcoin-services.nodejs
|
||||||
// nix-bitcoin-services.allowTor;
|
// nix-bitcoin-services.allowTor;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user