list="auditd.service"
unset ERR

for a in $list ; do
  echo -n "$a - "
  if ! systemctl is-active -q "$a" ; then
    ERR=yes 
    echo_ "ERROR: service not active"
  else
    echo_ "checked"
  fi
done 

[ ! $ERR ] &&  true
