smokeping service: Use setuid-wrapped fping binary

The current default probe config uses the unwrapped fping binary, which
leads to an error because fping must be executed with elevated
permissions.

I fixed this by changing the path to the default binary to the
setuid-wrapped version.
This commit is contained in:
Marius Bergmann 2016-11-03 09:37:51 +01:00
parent 26256b7cea
commit 51652ac3aa

View file

@ -221,7 +221,7 @@ in
type = types.string;
default = ''
+ FPing
binary = ${pkgs.fping}/bin/fping
binary = ${config.security.wrapperDir}/fping
'';
description = "Probe configuration";
};