diff options
| author | Aaron Andersen <aaron@fosslib.net> | 2021-06-06 07:00:28 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-06 07:00:28 -0400 |
| commit | 2554fcbe1bf5045f609776b2e1a1e72d2453ef94 (patch) | |
| tree | 88bec6759c22edc5af4286152c1c9ec9d86db77b | |
| parent | Merge pull request #125845 from NixOS/backport-125835-to-release-21.05 (diff) | |
| parent | zabbix.agent2: create a symlink which is compatible with the zabbixAgent module (diff) | |
| download | nixpkgs-2554fcbe1bf5045f609776b2e1a1e72d2453ef94.tar.gz | |
Merge pull request #125806 from NixOS/backport-125266-to-release-21.05
[Backport release-21.05] zabbix.agent2: create a symlink which is compatible with the zabbixAg…
| -rw-r--r-- | pkgs/servers/monitoring/zabbix/agent2.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/servers/monitoring/zabbix/agent2.nix b/pkgs/servers/monitoring/zabbix/agent2.nix index 1deada436374..98fafa4265d6 100644 --- a/pkgs/servers/monitoring/zabbix/agent2.nix +++ b/pkgs/servers/monitoring/zabbix/agent2.nix @@ -46,8 +46,13 @@ import ./versions.nix ({ version, sha256 }: ''; installPhase = '' + mkdir -p $out/sbin + install -Dm0644 src/go/conf/zabbix_agent2.conf $out/etc/zabbix_agent2.conf install -Dm0755 src/go/bin/zabbix_agent2 $out/bin/zabbix_agent2 + + # create a symlink which is compatible with the zabbixAgent module + ln -s $out/bin/zabbix_agent2 $out/sbin/zabbix_agentd ''; meta = with lib; { |
