This repository has been archived on 2021-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
|
#!/usr/bin/env sh
|
|
|
|
set -eu
|
|
|
|
export PSM_DB_PASS=$(cat "$PSM_DB_PASS_FILE")
|
|
unset PSM_DB_PASS_FILE
|
|
|
|
apk add --no-cache msmtp
|
|
|
|
echo "sendmail_path = /usr/bin/msmtp -t -i" > /usr/local/etc/php/conf.d/sendmail.ini
|
|
|
|
if [ ! "${1-}" = "-e" ]; then
|
|
/docker-entrypoint.sh
|
|
fi
|
|
|
|
set +eu
|