diff options
author | Raito Bezarius <masterancpp@gmail.com> | 2024-03-24 16:59:06 +0100 |
---|---|---|
committer | Raito Bezarius <masterancpp@gmail.com> | 2024-06-19 22:30:05 +0200 |
commit | 1cfb30fbdb49128a32aaae819b8ca9ea9fa28c99 (patch) | |
tree | d0b80dcc05b2df9e7adf57eaea2a8b9440de0b6b /nixos/modules | |
parent | 3386a3aab0d20f52ce77db76e564a43972f4c42c (diff) |
nixos/netdata: depends on suid-sgid-wrappers
Netdata is critically dependent on working wrappers, thus, we ensure that the service was successful. Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/monitoring/netdata.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nixos/modules/services/monitoring/netdata.nix b/nixos/modules/services/monitoring/netdata.nix index f604a6835b083..969fb81ab8ff4 100644 --- a/nixos/modules/services/monitoring/netdata.nix +++ b/nixos/modules/services/monitoring/netdata.nix @@ -226,7 +226,9 @@ in { systemd.services.netdata = { description = "Real time performance monitoring"; - after = [ "network.target" ]; + after = [ "network.target" "suid-sgid-wrappers.service" ]; + # No wrapper means no "useful" netdata. + requires = [ "suid-sgid-wrappers.service" ]; wantedBy = [ "multi-user.target" ]; path = (with pkgs; [ curl |