1
0
mirror of https://git.cloudron.io/cloudron/gitea-app synced 2025-09-02 15:55:02 +00:00

Use latest sendmail configuration

This commit is contained in:
Girish Ramakrishnan
2016-05-05 23:07:17 -07:00
parent a52b15596b
commit bf95f923ef
2 changed files with 6 additions and 3 deletions

View File

@@ -59,7 +59,9 @@ sed -e "s/##DOMAIN/${APP_DOMAIN}/g" \
-e "s/##MYSQL_DATABASE/${MYSQL_DATABASE}/g" \
-e "s/##MAIL_SERVER/${MAIL_SMTP_SERVER}/g" \
-e "s/##MAIL_PORT/${MAIL_SMTP_PORT}/g" \
-e "s/##MAIL_FROM/${MAIL_SMTP_USERNAME}@${MAIL_DOMAIN}/g" \
-e "s/##MAIL_FROM/${MAIL_FROM}/g" \
-e "s/##MAIL_SMTP_USERNAME/${MAIL_SMTP_USERNAME}/g" \
-e "s/##MAIL_SMTP_PASSWORD/${MAIL_SMTP_PASSWORD}/g" \
-e "s/##SECRET_KEY/$(pwgen -1 -s)/g" \
/home/git/app.ini.template > "/run/gogs/app.ini"