#!/bin/sh

set -e

echo "Checking if dovecot is running"
doveadm -f flow instance list | grep -q 'running=yes'
echo "OK"
