Check port and restart pg9.5

This commit is contained in:
Rafa de la Torre
2016-08-08 18:09:51 +02:00
parent 57aa28ee5c
commit d078a87890

View File

@@ -27,7 +27,8 @@ before_install:
# configure it to accept local connections from postgres
- echo -e "# TYPE DATABASE USER ADDRESS METHOD \nlocal all postgres trust\nlocal all all trust\nhost all all 127.0.0.1/32 trust" \
| sudo tee /etc/postgresql/9.5/main/pg_hba.conf
- sudo service postgresql reload
- sudo cat /etc/postgresql/9.5/main/postgresql.conf | grep ^port
- sudo /etc/init.d/postgresql restart 9.5
script:
- sudo make install