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

6 lines
106 B
Bash

#!/bin/sh
PID=$(pgrep master)
if [ -z $PID ]
then
exec /usr/sbin/postfix start -c /etc/mail/postfix
fi