Alertonotify hardening part 1
Some checks failed
Run nix flake check / flake-check (push) Failing after 4m30s
Some checks failed
Run nix flake check / flake-check (push) Failing after 4m30s
This commit is contained in:
parent
fe2e87658a
commit
8e0b97c9e0
@ -19,6 +19,18 @@
|
|||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "exec";
|
Type = "exec";
|
||||||
ExecStart = "${pkgs.alerttonotify}/bin/alerttonotify";
|
ExecStart = "${pkgs.alerttonotify}/bin/alerttonotify";
|
||||||
|
DynamicUser = "yes";
|
||||||
|
CapabilityBoundingSet = "";
|
||||||
|
RestrictAddressFamilies = "AF_INET AF_INET6";
|
||||||
|
SystemCallArchitectures = "native";
|
||||||
|
LockPersonality = "yes";
|
||||||
|
MemoryDenyWriteExecute = "yes";
|
||||||
|
PrivateDevices = "yes";
|
||||||
|
PrivateUsers = "yes";
|
||||||
|
ProtectControlGroups = "yes";
|
||||||
|
ProtectHome = "yes";
|
||||||
|
ProtectHostname = "yes";
|
||||||
|
RestrictNamespace = "yes";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user