This commit is contained in:
2023-06-21 12:40:07 +00:00
parent b6f2c8ce64
commit 6e804cfb8d
2 changed files with 19 additions and 8 deletions

View File

@@ -58,11 +58,11 @@ if [[ "$BITWARDEN" == "yes" ]]; then
sed -i "s/DOMAIN_NAME/$BITWARDEN_DOMAIN/g" /tmp/bitwarden/bitwarden-secret.json
sed -i "s/ADMINTOKEN/$BITWARDEN_TOKEN/g" /tmp/bitwarden/bitwarden-secret.json
if [ "$SMTP_SERVER" == "gmail" ]; then
if [ "$SMTP_SERVER" == "1" ]; then
SMTP_HOST="smtp.gmail.com";
SMTP_PORT="587";
SMTP_SECURITY="starttls";
elif [ "$SMTP_SERVER" == "microsoft" ]; then
elif [ "$SMTP_SERVER" == "2" ]; then
SMTP_HOST="smtp-mail.outlook.com";
SMTP_PORT="587";
SMTP_SECURITY="starttls";