Add an entrypoint to configure ssmtp
This commit is contained in:
parent
88549ed7d2
commit
87eb526eb5
2 changed files with 11 additions and 1 deletions
5
entrypoint.sh
Executable file
5
entrypoint.sh
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
[ -n "${MAILER_HOST}" ] && sed -r -i "/^mailhub=/s/.*/mailhub=${MAILER_HOST}/" /etc/ssmtp/ssmtp.conf
|
||||
|
||||
exec $@
|
||||
Loading…
Add table
Add a link
Reference in a new issue