mailiverse/config/hosts/make-prod

15 lines
369 B
Plaintext
Executable File

if [ -z "$1" ]; then echo "Must supply server name (mailiverse.com) as argument"; exit 0; fi
prod=$1
echo $prod > prod
echo $prod > primary_prod
echo mail.$prod > web_prod
echo mail.$prod > tomcat_prod
echo mail.$prod > auth_prod
echo mail.$prod > local_mail_prod
echo "127.0.0.1" > local_db_prod
echo "127.0.0.1" > local_key_prod
echo "127.0.0.1" > local_smtp_prod