From acf69766980bcb9f5c89a500125f072de64ec581 Mon Sep 17 00:00:00 2001 From: Tom Russell Date: Fri, 8 Mar 2019 10:34:18 +0000 Subject: [PATCH] Fix postgres dir (9.5>10) in vm provision --- provision/vm_provision.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provision/vm_provision.sh b/provision/vm_provision.sh index ef5b4346..917c0125 100644 --- a/provision/vm_provision.sh +++ b/provision/vm_provision.sh @@ -73,7 +73,7 @@ service postgresql start # Ensure en_US locale exists locale-gen en_US.UTF-8 # Database config to listen on network connection -sed -i "s/#\?listen_address.*/listen_addresses '*'/" /etc/postgresql/9.5/main/postgresql.conf +sed -i "s/#\?listen_address.*/listen_addresses '*'/" /etc/postgresql/10/main/postgresql.conf # Allow password connections from any IP (so includes host) echo "host all all all md5" >> /etc/postgresql/10/main/pg_hba.conf # Restart postgres to pick up config changes