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

6 lines
108 B
Bash

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