#!/bin/sh

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

echo "Submission is running"
exit 0
