mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-24 22:27:30 +03:00
Merge pull request #126284 from aanderse/zabbix-user-params
zabbixAgent: add bash to $PATH
This commit is contained in:
commit
84a79c2f0f
@ -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 New Issue
Block a user