diff --git a/include/tests_boot_services b/include/tests_boot_services index 35b2e460..6705ebf3 100644 --- a/include/tests_boot_services +++ b/include/tests_boot_services @@ -121,6 +121,11 @@ SERVICE_MANAGER="bsdrc" fi ;; + "macOS") + if [ -x ${ROOTDIR}sbin/launchd ]; then + SERVICE_MANAGER="launchd" + fi + ;; *) LogText "Result: unknown service manager" ;; diff --git a/include/tests_webservers b/include/tests_webservers index 7c487383..c7ceef1b 100644 --- a/include/tests_webservers +++ b/include/tests_webservers @@ -561,20 +561,20 @@ Display --indent 8 --text "- Debugging mode on error_log" --result "${STATUS_YES}" --color RED AddHP 2 3 else - LogText "Result: no virtual hosts found which have their access log disabled" + LogText "Result: no virtual hosts found which have their their error log in debug mode" Display --indent 8 --text "- Debugging mode on error_log" --result "${STATUS_NO}" --color GREEN AddHP 3 3 fi # Report suggestion if [ ${NGINX_LOG_SUGGESTION} -eq 1 ]; then - ReportSuggestion ${TEST_NO} "Check your nginx error_log statements" + ReportSuggestion ${TEST_NO} "Check your nginx error_log statements and disable debug mode" fi fi # ################################################################################# # # Test : HTTP-6720 - # Description : Search for Nginx log files + # Description : Search for nginx log files if [ ${NGINX_RUNNING} -eq 1 ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi Register --test-no HTTP-6720 --preqs-met ${PREQS_MET} --weight L --network NO --category security --description "Check Nginx log files" if [ ${SKIPTEST} -eq 0 ]; then