mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
hosts/plover: reduce service capability
This commit is contained in:
parent
fbce914870
commit
eed4160b85
@ -220,11 +220,11 @@ in
|
||||
|
||||
# Granting and restricting its capabilities. Take note we're not using
|
||||
# syslog for this even if the application can so no syslog capability.
|
||||
# Additionally, we're using omitting the program's ability to chroot and
|
||||
# chown since the user and the directories are already configured.
|
||||
CapabilityBoundingSet = [
|
||||
"CAP_NET_BIND_SERVICE"
|
||||
"CAP_NET_RAW"
|
||||
"CAP_CHOWN"
|
||||
"CAP_SYS_CHROOT"
|
||||
];
|
||||
AmbientCapabilities = [ "CAP_NET_BIND_SERVICE" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user