Disable everything

This commit is contained in:
niten 2024-01-07 09:31:53 -08:00
parent c405597d81
commit dd2df768f1
1 changed files with 14 additions and 14 deletions

View File

@ -312,24 +312,24 @@ let
description = "Heimdal propagation listener server.";
path = with pkgs; [ heimdal ];
serviceConfig = {
StandardInput = "socket";
StandardOutput = "socket";
PrivateDevices = true;
PrivateTmp = true;
ProtectControlGroups = true;
ProtectKernelTunables = true;
ProtectHostname = true;
ProtectClock = true;
ProtectKernelLogs = true;
MemoryDenyWriteExecute = true;
RestrictRealtime = true;
LimitNOFILE = "4096";
# StandardInput = "socket";
# StandardOutput = "socket";
# PrivateDevices = true;
# PrivateTmp = true;
# ProtectControlGroups = true;
# ProtectKernelTunables = true;
# ProtectHostname = true;
# ProtectClock = true;
# ProtectKernelLogs = true;
# MemoryDenyWriteExecute = true;
# RestrictRealtime = true;
# LimitNOFILE = "4096";
User = cfg.user;
Group = cfg.group;
# Server will retry -- this results in stacking
Restart = "never";
AmbientCapabilities = "CAP_NET_BIND_SERVICE";
SecureBits = "keep-caps";
# AmbientCapabilities = "CAP_NET_BIND_SERVICE";
# SecureBits = "keep-caps";
ReadWritePaths = [ "${dirOf cfg.kdc.database}" ];
ExecStart = let
startScript = pkgs.writeShellScript "launch-heimdal-hpropd.sh"