diff options
author | Lennart Weller <lhw@ring0.de> | 2017-09-17 22:17:45 +0000 |
---|---|---|
committer | Lennart Weller <lhw@ring0.de> | 2017-09-17 22:17:45 +0000 |
commit | 7ee3962eaca4214264964ae32c86de457a90e382 (patch) | |
tree | 5a784485351593ac6d74fa9fd9bbd8fe7c9c3fe0 /installer | |
parent | maintscript eludes me (diff) | |
parent | New upstream version 1.8.0+dfsg (diff) | |
download | netdata-7ee3962eaca4214264964ae32c86de457a90e382.tar.xz netdata-7ee3962eaca4214264964ae32c86de457a90e382.zip |
Updated version 1.8.0+dfsg from 'upstream/1.8.0+dfsg'
with Debian dir 412de09d9bca38fe00146ef090f9e53f76493882
Diffstat (limited to 'installer')
-rw-r--r-- | installer/functions.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/installer/functions.sh b/installer/functions.sh index c847ba1c..cfc2d7ea 100644 --- a/installer/functions.sh +++ b/installer/functions.sh @@ -418,7 +418,7 @@ install_non_systemd_init() { if [ -d /etc/init.d -a ! -f /etc/init.d/netdata ] then - if [ "${key}" = "gentoo" ] + if [[ "${key}" =~ ^(gentoo|alpine).* ]] then echo >&2 "Installing OpenRC init file..." run cp system/netdata-openrc /etc/init.d/netdata && \ @@ -437,7 +437,7 @@ install_non_systemd_init() { run update-rc.d netdata defaults && \ run update-rc.d netdata enable && \ return 0 - elif [[ "${key}" =~ ^(amzn-201[567]|CentOS release 6|Red Hat Enterprise Linux Server release 6).* ]] + elif [[ "${key}" =~ ^(amzn-201[567]|ol|CentOS release 6|Red Hat Enterprise Linux Server release 6).* ]] then echo >&2 "Installing init.d file..." run cp system/netdata-init-d /etc/init.d/netdata && \ |