summaryrefslogtreecommitdiffstats
path: root/installer
diff options
context:
space:
mode:
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2017-04-07 01:34:58 +0300
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2017-04-07 01:34:58 +0300
commit14a3c5d7573786533b53706e99607e2135a68a3f (patch)
tree4c66974a86c8f55d314d1c3f5867cdb3c8b9dd15 /installer
parent431e33d4605ffe5b13587e1471946413b1a205d9 (diff)
added Centos 6.6 to the whitelisted distros for installing init.d file; fixes #2056
Diffstat (limited to 'installer')
-rw-r--r--installer/functions.sh10
1 files changed, 8 insertions, 2 deletions
diff --git a/installer/functions.sh b/installer/functions.sh
index b590e19e99..78e50e3537 100644
--- a/installer/functions.sh
+++ b/installer/functions.sh
@@ -409,7 +409,10 @@ install_non_systemd_init() {
run rc-update add netdata default && \
return 0
- elif [ "${key}" = "ubuntu-12.04" -o "${key}" = "ubuntu-14.04" -o "${key}" = "debian-7" ]
+ elif [ "${key}" = "debian-7" \
+ -o "${key}" = "ubuntu-12.04" \
+ -o "${key}" = "ubuntu-14.04" \
+ ]
then
echo >&2 "Installing LSB init file..."
run cp system/netdata-lsb /etc/init.d/netdata && \
@@ -418,7 +421,10 @@ install_non_systemd_init() {
run update-rc.d netdata enable && \
return 0
- elif [ "${key}" = "CentOS release 6.8 (Final)" -o "${key}" = "amzn-2016.09" ]
+ elif [ "${key}" = "amzn-2016.09" \
+ -o "${key}" = "CentOS release 6.6 (Final)" \
+ -o "${key}" = "CentOS release 6.8 (Final)" \
+ ]
then
echo >&2 "Installing init.d file..."
run cp system/netdata-init-d /etc/init.d/netdata && \