nixos/gerrit: Enable PrivateUsers hardening in service config
For documentation see https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html#PrivateUsers= Signed-off-by: Felix Singer <felixsinger@posteo.net>
This commit is contained in:
@@ -237,6 +237,7 @@ in
|
||||
PrivateDevices = true;
|
||||
PrivateMounts = true;
|
||||
PrivateTmp = true;
|
||||
PrivateUsers = true;
|
||||
ProtectClock = true;
|
||||
ProtectControlGroups = "strict";
|
||||
ProtectHome = true;
|
||||
|
||||
Reference in New Issue
Block a user