diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-07-20 02:19:44 +0300 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2017-07-20 02:19:44 +0300 |
commit | 43d9f5c94fb95b5c9422b96558b3fe5ce97c02dc (patch) | |
tree | dd191f2a6c3e7ac8ccafe44f29f7d688ffd0fcf6 /installer | |
parent | acca7f9fd2bf5e21065145f64a0bd13336b91306 (diff) |
install openrc file on alpine; fixes #2476
Diffstat (limited to 'installer')
-rw-r--r-- | installer/functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/functions.sh b/installer/functions.sh index 13e0da9b5a..cfc2d7eaab 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 && \ |