summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2019-08-14 15:51:53 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2019-08-22 13:56:56 +0000
commit5c3cd0da35b99150876d1d602ced783e69a001d1 (patch)
tree22582faeaaf484453e1e0f27e63ff020a08c3adb
parentMoving local netdata.conf into subdirectory within source tree for consistency. (diff)
downloadnetdata-5c3cd0da35b99150876d1d602ced783e69a001d1.tar.xz
netdata-5c3cd0da35b99150876d1d602ced783e69a001d1.zip
Using debhelper install files to install netdata configuration.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/netdata-core.install2
-rwxr-xr-xdebian/rules2
2 files changed, 2 insertions, 2 deletions
diff --git a/debian/netdata-core.install b/debian/netdata-core.install
index 67ee41dc3..15df7efda 100644
--- a/debian/netdata-core.install
+++ b/debian/netdata-core.install
@@ -8,3 +8,5 @@ usr/lib/netdata/conf.d/health_email_recipients.conf
usr/lib/netdata/conf.d/statsd.d
usr/lib/netdata/conf.d/stream.conf
usr/sbin
+
+debian/local/netdata/netdata.conf /etc/netdata
diff --git a/debian/rules b/debian/rules
index 8359b1c8a..84514eb67 100755
--- a/debian/rules
+++ b/debian/rules
@@ -79,7 +79,6 @@ override_dh_install-arch:
# Copy architecture dependent plugins
mkdir -p $(TOP)-core/etc/netdata
- cp debian/local/netdata/netdata.conf $(TOP)-core/etc/netdata
touch $(TOP)-core/etc/netdata/.opt-out-from-anonymous-statistics
mkdir -p $(TOP)-core/usr/lib/netdata/plugins.d
@@ -94,7 +93,6 @@ ifeq (netdata-core-no-sse,$(findstring netdata-core-no-sse,$(PACKAGES)))
dh_install -p netdata-core-no-sse --sourcedir=debian/tmp-core-no-sse
mkdir -p $(TOP)-core-no-sse/etc/netdata
- cp debian/local/netdata/netdata.conf $(TOP)-core-no-sse/etc/netdata
touch $(TOP)-core-no-sse/etc/netdata/.opt-out-from-anonymous-statistics
mkdir -p $(TOP)-core-no-sse/usr/lib/netdata/plugins.d