Check port and restart pg9.5
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user