From 6a532dd4e6b853ea3c8e5694f57295e8a3b191f7 Mon Sep 17 00:00:00 2001 From: cassio Date: Tue, 26 Aug 2014 08:33:49 +0100 Subject: few minor fixes and possibility of having a hotstandby bkp --- tools/etc/icpc/updatedbpass.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/etc/icpc/updatedbpass.sh') diff --git a/tools/etc/icpc/updatedbpass.sh b/tools/etc/icpc/updatedbpass.sh index b100af5..a33be16 100755 --- a/tools/etc/icpc/updatedbpass.sh +++ b/tools/etc/icpc/updatedbpass.sh @@ -75,6 +75,7 @@ if [ $? == 0 -a "$BOCASERVER" == "localhost" ]; then su - $postgresuser -c "echo drop user bocauser | psql -d template1 >/dev/null 2>/dev/null" su - $postgresuser -c "echo create user bocauser createdb password \'$PASS\' | psql -d template1 2>/dev/null" su - $postgresuser -c "echo alter user bocauser createdb password \'$PASS\' | psql -d template1" + su - $postgresuser -c "echo alter user postgres password \'$PASS\' | psql -d template1" rm -f /tmp/.boca.tmp fi -- cgit v1.2.3