docker-nagios/entrypoint.sh

6 lines
121 B
Bash
Executable File

#!/bin/sh
[ -n "${MAILER_HOST}" ] && sed -r -i "/^mailhub=/s/.*/mailhub=${MAILER_HOST}/" /etc/ssmtp/ssmtp.conf
exec $@