summaryrefslogtreecommitdiffstats
path: root/netdata-installer.sh
diff options
context:
space:
mode:
authorAustin S. Hemmelgarn <austin@netdata.cloud>2023-02-27 12:38:25 -0500
committerGitHub <noreply@github.com>2023-02-27 12:38:25 -0500
commit8b93deb7b0916ea5caabfb24dbc6420e01054cbe (patch)
treef08ec8b80c6752a71c39f06e50de25f7df2cd3e7 /netdata-installer.sh
parent732654d592a3d49c8f1a154a8d4bb3c475e027d9 (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-installer.sh')
-rwxr-xr-xnetdata-installer.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/netdata-installer.sh b/netdata-installer.sh
index 8a83025b8f..44741d6011 100755
--- a/netdata-installer.sh
+++ b/netdata-installer.sh
@@ -1059,7 +1059,7 @@ fi
# -----------------------------------------------------------------------------
progress "Fix generated files permissions"
-run find ./system/ -type f -a \! -name \*.in -a \! -name Makefile\* -a \! -name \*.conf -a \! -name \*.service -a \! -name \*.timer -a \! -name \*.logrotate -a \! -name \.install-type -exec chmod 755 {} \;
+run chmod 755 ./system/*/init.d/netdata ./system/*/rc.d/netdata ./system/install-service.sh
# -----------------------------------------------------------------------------
progress "Creating standard user and groups for netdata"