install init file on amzn-2018 distro; fixes #3650
Costa Tsaousis (ktsaou) committed
Apr 25, 2018 at 01:30 UTC
3b9c2b6e7b19eb3ee2dc9e950411cfc95a6332ec
1 file changed
+1
-1
installer/functions.sh
+1
-1
@@ -478,7 +478,7 @@ install_non_systemd_init() {
478
run update-rc.d netdata defaults && \
479
run update-rc.d netdata enable && \
480
return 0
481
- elif [[ "${key}" =~ ^(amzn-201[567]|ol|CentOS release 6|Red Hat Enterprise Linux Server release 6|Scientific Linux CERN SLC release 6|CloudLinux Server release 6).* ]]
481
+ elif [[ "${key}" =~ ^(amzn-201[5678]|ol|CentOS release 6|Red Hat Enterprise Linux Server release 6|Scientific Linux CERN SLC release 6|CloudLinux Server release 6).* ]]
482
then
483
echo >&2 "Installing init.d file..."
484
run cp system/netdata-init-d /etc/init.d/netdata && \