Merge pull request #82947 from Izorkin/netdata-fix
netdata: fix load go.d.plugin
This commit is contained in:
commit
a14a349a1c
@ -47,7 +47,7 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
ln -s ${go-d-plugin.bin}/lib/netdata/conf.d/* $out/lib/netdata/conf.d
|
ln -s ${go-d-plugin.bin}/lib/netdata/conf.d/* $out/lib/netdata/conf.d
|
||||||
ln -s ${go-d-plugin.bin}/bin/godplugind $out/libexec/netdata/plugins.d/go.d.plugin
|
ln -s ${go-d-plugin.bin}/bin/godplugin $out/libexec/netdata/plugins.d/go.d.plugin
|
||||||
'' + optionalString (!stdenv.isDarwin) ''
|
'' + optionalString (!stdenv.isDarwin) ''
|
||||||
# rename this plugin so netdata will look for setuid wrapper
|
# rename this plugin so netdata will look for setuid wrapper
|
||||||
mv $out/libexec/netdata/plugins.d/apps.plugin \
|
mv $out/libexec/netdata/plugins.d/apps.plugin \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user