Remove some protections
This commit is contained in:
parent
48cac03ec9
commit
2446c2bd4b
|
@ -67,13 +67,13 @@ in {
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
PrivateUsers = true;
|
PrivateUsers = true;
|
||||||
PrivateDevices = true;
|
PrivateDevices = true;
|
||||||
PrivateTmp = true;
|
# PrivateTmp = true;
|
||||||
PrivateMounts = true;
|
# PrivateMounts = true;
|
||||||
ProtectControlGroups = true;
|
# ProtectControlGroups = true;
|
||||||
ProtectKernelTunables = true;
|
ProtectKernelTunables = true;
|
||||||
ProtectKernelModules = true;
|
ProtectKernelModules = true;
|
||||||
ProtectSystem = true;
|
# ProtectSystem = true;
|
||||||
ProtectHostname = true;
|
# ProtectHostname = true;
|
||||||
ProtectHome = true;
|
ProtectHome = true;
|
||||||
ProtectClock = true;
|
ProtectClock = true;
|
||||||
ProtectKernelLogs = true;
|
ProtectKernelLogs = true;
|
||||||
|
@ -90,7 +90,6 @@ in {
|
||||||
RestartSec = "5s";
|
RestartSec = "5s";
|
||||||
Type = "simple";
|
Type = "simple";
|
||||||
PIDFile = "/run/objectifier.pid";
|
PIDFile = "/run/objectifier.pid";
|
||||||
ReadWritePaths = [ "/run" ];
|
|
||||||
ExecStart = let
|
ExecStart = let
|
||||||
bindClause = concatStringsSep " "
|
bindClause = concatStringsSep " "
|
||||||
(map (addr: "--bind ${addr}:${toString cfg.port}")
|
(map (addr: "--bind ${addr}:${toString cfg.port}")
|
||||||
|
|
Loading…
Reference in New Issue