#!/bin/sh

if ! ps aux | grep -v "grep" | grep -q "/opt/haraka\-smtp"; then
	echo "SMTP is not running"
	exit 1
fi

echo "SMTP is running"
exit 0
