Added additional process check for OpenSMTPD

This commit is contained in:
mboelen 2014-12-05 13:27:29 +01:00
parent a70e0558c8
commit 3bc7f1fb02
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@
Register --test-no MAIL-8920 --preqs-met ${PREQS_MET} --weight L --network NO --description "Check OpenSMTPD status" Register --test-no MAIL-8920 --preqs-met ${PREQS_MET} --weight L --network NO --description "Check OpenSMTPD status"
if [ ${SKIPTEST} -eq 0 ]; then if [ ${SKIPTEST} -eq 0 ]; then
logtext "Test: check smtpd status" logtext "Test: check smtpd status"
FIND=`${PSBINARY} ax | grep "/smtpd" | grep -v "grep"` FIND=`${PSBINARY} ax | egrep "(/smtpd|smtpd: smtp)" | grep -v "grep"`
if [ ! "${FIND}" = "" ]; then if [ ! "${FIND}" = "" ]; then
logtext "Result: found running smtpd process" logtext "Result: found running smtpd process"
Display --indent 2 --text "- Checking OpenSMTPD status" --result RUNNING --color GREEN Display --indent 2 --text "- Checking OpenSMTPD status" --result RUNNING --color GREEN