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

7 lines
119 B
Bash

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