summaryrefslogtreecommitdiffstats
path: root/netdata.spec.in
diff options
context:
space:
mode:
authorAustin S. Hemmelgarn <austin@netdata.cloud>2022-03-02 09:21:22 -0500
committerGitHub <noreply@github.com>2022-03-02 09:21:22 -0500
commit3dc314432e22086648b515de8bacce19e8cc481e (patch)
tree624ef16fef55ad1299d41df0cdc79791a60cdb6b /netdata.spec.in
parent57ebc01370d4b67a654db6b1a9b2ff2365956d57 (diff)
Add support to the updater to toggle auto-updates on and off. (#12202)
* Add support to the updater to toggle auto-updates on and off. This also adds the updater script to our native packages. * Move argument handling logic to updater enabler function. * Properly handle crontab case.
Diffstat (limited to 'netdata.spec.in')
-rw-r--r--netdata.spec.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/netdata.spec.in b/netdata.spec.in
index 5856fc5e0b..d060652008 100644
--- a/netdata.spec.in
+++ b/netdata.spec.in
@@ -284,6 +284,10 @@ rm -rf "${RPM_BUILD_ROOT}"
install -m 644 -p system/netdata.conf "${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}"
# ###########################################################
+# Install updater script
+install -m 755 -p packaging/installer/netdata-updater.sh "${RPM_BUILD_ROOT}%{_libexecdir}/%{name}/netdata-updater.sh"
+
+# ###########################################################
# logrotate settings
install -m 755 -d "${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d"
install -m 644 -p system/netdata.logrotate "${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d/%{name}"
@@ -557,6 +561,8 @@ are sensor monitoring, system event monitoring, power control, and serial-over-L
%attr(4750,root,netdata) %{_libexecdir}/%{name}/plugins.d/freeipmi.plugin
%changelog
+* Wed Feb 03 2022 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-16
+- Bundle updater script in native packages.
* Mon Oct 11 2021 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-15
- Remove support code for legacy ACLK implementation.
* Wed Sep 16 2020 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-14