mailiverse/deploy/config/hosts/make-prod

15 lines
364 B
Plaintext
Raw Normal View History

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 $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