gnu-social/docker/mail/rootfs/etc/service/dovecot/run

7 lines
117 B
Bash

#!/bin/sh
PID=$(pgrep dovecot)
if [ -z ${PID} ]
then
exec /usr/sbin/dovecot -c /etc/mail/dovecot/dovecot.conf
fi