mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
zabbixAgent: add bash to $PATH
This commit is contained in:
parent
c2ed2666f2
commit
a0a11fd22c
1 changed files with 4 additions and 1 deletions
|
@ -157,7 +157,10 @@ in
|
|||
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
||||
path = [ "/run/wrappers" ] ++ cfg.extraPackages;
|
||||
# https://www.zabbix.com/documentation/current/manual/config/items/userparameters
|
||||
# > User parameters are commands executed by Zabbix agent.
|
||||
# > /bin/sh is used as a command line interpreter under UNIX operating systems.
|
||||
path = with pkgs; [ bash "/run/wrappers" ] ++ cfg.extraPackages;
|
||||
|
||||
serviceConfig = {
|
||||
ExecStart = "@${cfg.package}/sbin/zabbix_agentd zabbix_agentd -f --config ${configFile}";
|
||||
|
|
Loading…
Reference in a new issue