zabbix.agent2: create a symlink which is compatible with the zabbixAgent module
This commit is contained in:
parent
ab0d28758e
commit
99e3741957
|
@ -46,8 +46,13 @@ import ./versions.nix ({ version, sha256 }:
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
mkdir -p $out/sbin
|
||||||
|
|
||||||
install -Dm0644 src/go/conf/zabbix_agent2.conf $out/etc/zabbix_agent2.conf
|
install -Dm0644 src/go/conf/zabbix_agent2.conf $out/etc/zabbix_agent2.conf
|
||||||
install -Dm0755 src/go/bin/zabbix_agent2 $out/bin/zabbix_agent2
|
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; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue