added Centos 6.6 to the whitelisted distros for installing init.d file; fixes #2056
Costa Tsaousis (ktsaou) committed
Apr 7, 2017 at 01:34 UTC
14a3c5d7573786533b53706e99607e2135a68a3f
1 file changed
+8
-2
installer/functions.sh
+8
-2
@@ -409,7 +409,10 @@ install_non_systemd_init() {
409
run rc-update add netdata default && \
410
return 0
411
412
- elif [ "${key}" = "ubuntu-12.04" -o "${key}" = "ubuntu-14.04" -o "${key}" = "debian-7" ]
412
+ elif [ "${key}" = "debian-7" \
413
+ -o "${key}" = "ubuntu-12.04" \
414
+ -o "${key}" = "ubuntu-14.04" \
415
+ ]
416
then
417
echo >&2 "Installing LSB init file..."
418
run cp system/netdata-lsb /etc/init.d/netdata && \
@@ -418,7 +421,10 @@ install_non_systemd_init() {
421
run update-rc.d netdata enable && \
422
return 0
423
421
- elif [ "${key}" = "CentOS release 6.8 (Final)" -o "${key}" = "amzn-2016.09" ]
424
+ elif [ "${key}" = "amzn-2016.09" \
425
+ -o "${key}" = "CentOS release 6.6 (Final)" \
426
+ -o "${key}" = "CentOS release 6.8 (Final)" \
427
+ ]
428
then
429
echo >&2 "Installing init.d file..."
430
run cp system/netdata-init-d /etc/init.d/netdata && \