mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
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:
parent
26256b7cea
commit
51652ac3aa
@ -221,7 +221,7 @@ in
|
|||||||
type = types.string;
|
type = types.string;
|
||||||
default = ''
|
default = ''
|
||||||
+ FPing
|
+ FPing
|
||||||
binary = ${pkgs.fping}/bin/fping
|
binary = ${config.security.wrapperDir}/fping
|
||||||
'';
|
'';
|
||||||
description = "Probe configuration";
|
description = "Probe configuration";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user