co2_exporter: Actually apply systemd sandboxing
I don’t know how that FIXME could be in there for so long.
This commit is contained in:
parent
42a22e89b7
commit
f59ba624ba
|
@ -38,7 +38,12 @@ in
|
|||
|
||||
# systemd-analyze --no-pager security co2_exporter.service
|
||||
DynamicUser = true;
|
||||
# FIXME
|
||||
CapabilityBoundingSet = null;
|
||||
PrivateUsers = true;
|
||||
ProtectHome = true;
|
||||
RestrictAddressFamilies = [ "AF_INET" "AF_INET6" ];
|
||||
RestrictNamespaces = true;
|
||||
SystemCallFilter = "@system-service";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue