diff options
Diffstat (limited to 'system/netdata/doinst.sh')
-rw-r--r-- | system/netdata/doinst.sh | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/system/netdata/doinst.sh b/system/netdata/doinst.sh index 65dbb24ba0e99..880b643590f6f 100644 --- a/system/netdata/doinst.sh +++ b/system/netdata/doinst.sh @@ -24,22 +24,32 @@ preserve_perms() { config etc/netdata/netdata.conf.new -for L in `ls etc/netdata/*.new` +for L in `ls usr/lib%LIBDIRSUFFIX%/netdata/conf.d/*.new` do config $L done -for L in `ls etc/netdata/python.d/*.new` +for L in `ls usr/lib%LIBDIRSUFFIX%/netdata/conf.d/python.d/*.new` do config $L done -for L in `ls etc/netdata/charts.d/*.new` +for L in `ls usr/lib%LIBDIRSUFFIX%/netdata/conf.d/charts.d/*.new` do config $L done -for L in `ls etc/netdata/health.d/*.new` +for L in `ls usr/lib%LIBDIRSUFFIX%/netdata/conf.d/health.d/*.new` +do +config $L +done + +#for L in `ls usr/lib%LIBDIRSUFFIX%/netdata/conf.d/node.d/*.new` +#do +#config $L +#done + +for L in `ls usr/lib%LIBDIRSUFFIX%/netdata/conf.d/statsd.d/*.new` do config $L done |