docker-nagios/entrypoint.sh

6 lines
121 B
Bash
Raw Normal View History

2022-01-30 17:34:49 +00:00
#!/bin/sh
[ -n "${MAILER_HOST}" ] && sed -r -i "/^mailhub=/s/.*/mailhub=${MAILER_HOST}/" /etc/ssmtp/ssmtp.conf
exec $@