diff options
author | Austin S. Hemmelgarn <austin@netdata.cloud> | 2023-02-27 12:38:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-27 12:38:25 -0500 |
commit | 8b93deb7b0916ea5caabfb24dbc6420e01054cbe (patch) | |
tree | f08ec8b80c6752a71c39f06e50de25f7df2cd3e7 /netdata.spec.in | |
parent | 732654d592a3d49c8f1a154a8d4bb3c475e027d9 (diff) |
Reorganize system directory to better reflect what files are actually used for. (#14544)
* Move systemd-specific system files to their own directory.
* Move non-systemd init scripts to individual subdirectories.
* Move cron files to their own directory.
* Move logrotate config to it’s own directory.
* Fix typos in Makefile.am.
* Fix Debian package builds.
* Fixed issues reported by @andrewm4894.
Diffstat (limited to 'netdata.spec.in')
-rw-r--r-- | netdata.spec.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/netdata.spec.in b/netdata.spec.in index 1c6aa61d23..4a2195cffb 100644 --- a/netdata.spec.in +++ b/netdata.spec.in @@ -287,7 +287,7 @@ install -m 755 -p packaging/installer/netdata-updater.sh "${RPM_BUILD_ROOT}%{_li # ########################################################### # 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}" +install -m 644 -p system/logrotate/netdata "${RPM_BUILD_ROOT}%{_sysconfdir}/logrotate.d/%{name}" # ########################################################### # Install freeipmi @@ -330,11 +330,11 @@ install -m 755 -d "${RPM_BUILD_ROOT}%{_localstatedir}/lib/%{name}/registry" # Install netdata service %if %{with systemd} install -m 755 -d "${RPM_BUILD_ROOT}%{_unitdir}" -install -m 644 -p system/netdata.service "${RPM_BUILD_ROOT}%{_unitdir}/netdata.service" +install -m 644 -p system/systemd/netdata.service "${RPM_BUILD_ROOT}%{_unitdir}/netdata.service" %else # install SYSV init stuff install -d "${RPM_BUILD_ROOT}/etc/rc.d/init.d" -install -m 755 system/netdata-init-d \ +install -m 755 system/initd/init.d/netdata \ "${RPM_BUILD_ROOT}/etc/rc.d/init.d/netdata" %endif |