#!/bin/sh

if ! /usr/bin/rspamadm control stat > /dev/null; then
	echo "Rspamd is not running"
	exit 1
fi

echo "Rspamd is running"
exit 0
