Skip to content

Commit

Permalink
Update setup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Jun 27, 2017
1 parent e96049d commit 20b6602
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demo/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ mysql -u root --password=${MYSQL_ROOT_PASSWORD} <<-MSQL
FLUSH PRIVILEGES;
MSQL

mysql -u root --password=${MYSQL_ROOT_PASSWORD} twistphp < /vagrant/demo/demo.sql
mysql -u root --password=${MYSQL_ROOT_PASSWORD} ${DATABASE} < /vagrant/demo/demo.sql

### SMTP RELAY ###
DEBIAN_FRONTEND=noninteractive apt-get -y install mailutils
sed -i "s/^relayhost.*/relayhost = ${SMTP_RELAY}/g" /etc/postfix/main.cf
service postfix restart
update-rc.d postfix defaults

# vi: set noexpandtab:
# vi: set noexpandtab:

0 comments on commit 20b6602

Please sign in to comment.