nixos/frigate: reduce visible process scope to cgroup
Frigate exposes process metrics using the psutil library and previously saw all system processes. Reducing the scope to the unit cgroup mimics the effects upstream gets via its OCI container usage.
This commit is contained in:
@@ -759,6 +759,9 @@ in
|
||||
|
||||
# Sockets/IPC
|
||||
RuntimeDirectory = "frigate";
|
||||
|
||||
# Reduce visible process scope to cgroup
|
||||
ProtectProc = "invisible";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user