Skip to content
Snippets Groups Projects
Commit b64597e9 authored by Markus Witt's avatar Markus Witt
Browse files

config: mail server setup

parent d2ff8ddd
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,16 @@ then
exit 1
fi
if [ \
"${TRAVELYNX_MAIL_DISABLE:-0}" -eq 0 \
-a "${TRAVELYNX_MAIL_HOST:-unset}" != "unset" \
]
then
export EMAIL_SENDER_TRANSPORT=SMTP
export EMAIL_SENDER_TRANSPORT_HOST=${TRAVELYNX_MAIL_HOST}
export EMAIL_SENDER_TRANSPORT_PORT=${TRAVELYNX_MAIL_PORT:-25}
fi
perl index.pl database migrate
exec /usr/local/bin/hypnotoad -f index.pl
\ No newline at end of file
exec /usr/local/bin/hypnotoad -f index.pl
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment