Remove some protections

This commit is contained in:
niten 2023-01-22 15:37:01 -08:00
parent 48cac03ec9
commit 2446c2bd4b
1 changed files with 5 additions and 6 deletions

View File

@ -67,13 +67,13 @@ in {
serviceConfig = {
PrivateUsers = true;
PrivateDevices = true;
PrivateTmp = true;
PrivateMounts = true;
ProtectControlGroups = true;
# PrivateTmp = true;
# PrivateMounts = true;
# ProtectControlGroups = true;
ProtectKernelTunables = true;
ProtectKernelModules = true;
ProtectSystem = true;
ProtectHostname = true;
# ProtectSystem = true;
# ProtectHostname = true;
ProtectHome = true;
ProtectClock = true;
ProtectKernelLogs = true;
@ -90,7 +90,6 @@ in {
RestartSec = "5s";
Type = "simple";
PIDFile = "/run/objectifier.pid";
ReadWritePaths = [ "/run" ];
ExecStart = let
bindClause = concatStringsSep " "
(map (addr: "--bind ${addr}:${toString cfg.port}")