mirror of
https://github.com/chatmail/relay.git
synced 2026-05-17 16:48:58 +00:00
fix: resolve issue on deployment
This commit is contained in:
8
init.sh
8
init.sh
@@ -38,8 +38,12 @@ echo "--- Initializing environment ---"
|
||||
./scripts/initenv.sh
|
||||
|
||||
# 4. Ask for domain and email
|
||||
read -p "Enter your mail domain (e.g. example.com): " MAIL_DOMAIN
|
||||
read -p "Enter your email for ACME/Let's Encrypt: " ACME_EMAIL
|
||||
if [ -z "$MAIL_DOMAIN" ]; then
|
||||
read -p "Enter your mail domain (e.g. example.com): " MAIL_DOMAIN < /dev/tty
|
||||
fi
|
||||
if [ -z "$ACME_EMAIL" ]; then
|
||||
read -p "Enter your email for ACME/Let's Encrypt: " ACME_EMAIL < /dev/tty
|
||||
fi
|
||||
|
||||
# 5. Initialize configuration
|
||||
echo "--- Initializing chatmail configuration ---"
|
||||
|
||||
Reference in New Issue
Block a user