summaryrefslogtreecommitdiffstats
path: root/netdata.spec.in
diff options
context:
space:
mode:
authorAustin S. Hemmelgarn <austin@netdata.cloud>2024-05-01 11:13:43 -0400
committerGitHub <noreply@github.com>2024-05-01 11:13:43 -0400
commit0f2a261839d5ffc42f17383b4292673aa93d6a1f (patch)
tree3132af02ca40bf02c3bda3486d90de81c091b933 /netdata.spec.in
parent5007a4ebcced3b270fb5addc14111bbcfe211cb2 (diff)
Fix handling of netdata.conf on install in build system. (#17572)
* Fix handling of netdata.conf on install in build system. * Fix RPM build handling. * Update netdata.spec.in --------- Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
Diffstat (limited to 'netdata.spec.in')
-rw-r--r--netdata.spec.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/netdata.spec.in b/netdata.spec.in
index 2e9d80c2e2..4bfe2b1ae8 100644
--- a/netdata.spec.in
+++ b/netdata.spec.in
@@ -396,7 +396,8 @@ happened, on your systems and applications.
rm -rf "${RPM_BUILD_ROOT}"
%{cmake_install}
-install -m 644 -p "system/%{name}.conf" "${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}"
+install -m 644 -p "${RPM_BUILD_ROOT}%{_libdir}/%{name}/conf.d/%{name}.conf" "${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}"
+install -m 644 -p "${RPM_BUILD_ROOT}%{_libdir}/%{name}/conf.d/%{name}-updater.conf" "${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}"
# ###########################################################
# Install updater script