@cryptotaxi247 / netdata-1 / commits / 43d9f5c94

install openrc file on alpine; fixes #2476

Costa Tsaousis (ktsaou) committed Jul 20, 2017 at 02:19 UTC 43d9f5c94fb95b5c9422b96558b3fe5ce97c02dc
1 file changed +1 -1
installer/functions.sh
+1 -1
@@ -418,7 +418,7 @@ install_non_systemd_init() {
418
419 if [ -d /etc/init.d -a ! -f /etc/init.d/netdata ]
420 then
421 - if [ "${key}" = "gentoo" ]
421 + if [[ "${key}" =~ ^(gentoo|alpine).* ]]
422 then
423 echo >&2 "Installing OpenRC init file..."
424 run cp system/netdata-openrc /etc/init.d/netdata && \