@cryptotaxi247 / netdata-1 / commits / cde1b741b

Adding amzn-2017.03 to install_non_systemd_init

current version of Amazon Linux is 2017.03 which is not handled by install_non_systemd_init so init scripts are not copied into place - just adding the version to install_non_systemd_init, would be easier with regex but that would be a bit more refactoring to use double braces in the test statement.

Nate committed Apr 20, 2017 at 11:20 UTC cde1b741bde0bb90f4a36df49817a28af164c943
1 file changed +1
installer/functions.sh
+1
@@ -422,6 +422,7 @@ install_non_systemd_init() {
422 return 0
423
424 elif [ "${key}" = "amzn-2016.09" \
425 + -o "${key}" = "amzn-2017.03" \
426 -o "${key}" = "CentOS release 6.6 (Final)" \
427 -o "${key}" = "CentOS release 6.8 (Final)" \
428 ]