mailiverse/deploy/config/hosts/make-dev
2013-09-01 18:17:08 -04:00

15 lines
333 B
Plaintext
Executable File

if [ -z "$1" ]; then echo "Must supply server name as argument"; exit 0; fi
dev=$1
echo $dev > primary_dev
echo mail.$dev > tomcat_dev
echo mail.$dev > web_dev
echo $dev > auth_dev
echo $dev > dev
echo "127.0.0.1" > local_db_dev
echo "127.0.0.1" > local_key_dev
echo "127.0.0.1" > local_mail_dev
echo "127.0.0.1" > local_smtp_dev