Pierre-Olivier Mercier
9ff7bd0781
All checks were successful
continuous-integration/drone/push Build is passing
6 lines
177 B
Bash
Executable File
6 lines
177 B
Bash
Executable File
#!/bin/sh
|
|
|
|
[ -n "${MAILER_HOST}" ] && sed -r "/^mailhub=/s/.*/mailhub=${MAILER_HOST}/" /etc/ssmtp/ssmtp.conf > ~/ssmtp.conf && cat ~/ssmtp.conf > /etc/ssmtp/ssmtp.conf
|
|
|
|
exec $@
|