nixos/telegraf: add support for native ping

This commit is contained in:
Jörg Thalheim 2020-08-22 08:17:40 +01:00
parent bd97a6ac7d
commit 9750813b89
No known key found for this signature in database
GPG Key ID: 003F2096411B5F92

View File

@ -60,6 +60,8 @@ in {
ExecReload="${pkgs.coreutils}/bin/kill -HUP $MAINPID";
User = "telegraf";
Restart = "on-failure";
# for ping probes
AmbientCapabilities = [ "CAP_NET_RAW" ];
};
};