From: Evan Broder Date: Sun, 26 Oct 2008 01:50:44 +0000 (-0400) Subject: Fix the port number of postgres.conf, because the chroot will choose a X-Git-Tag: invirt-database-server/0.0.3^0 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-database.git/commitdiff_plain/6b54ad7610ad6ae3bcc5c4cf597cc020bd3734a8 Fix the port number of postgres.conf, because the chroot will choose a new port svn path=/trunk/packages/invirt-database-server/; revision=1316 --- diff --git a/debian/changelog b/debian/changelog index 92f3d61..0b0de40 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,10 @@ invirt-database-server (0.0.3) unstable; urgency=low * Fix a typo on the postfix.conf.invirt transform script + * Postgres will try to intelligently select a port. We don't want it to + do that - force the port to our standard number - -- Evan Broder Sat, 25 Oct 2008 21:29:34 -0400 + -- Evan Broder Sat, 25 Oct 2008 21:50:02 -0400 invirt-database-server (0.0.2) unstable; urgency=low diff --git a/debian/transform_postgresql.conf.invirt b/debian/transform_postgresql.conf.invirt index ab9e6b1..57ea82a 100755 --- a/debian/transform_postgresql.conf.invirt +++ b/debian/transform_postgresql.conf.invirt @@ -1,3 +1,4 @@ #!/usr/bin/perl -0p s/^#?listen_addresses = '[^']*'(.*)$/listen_addresses = '*'$1/m or die; +s/^#?port = [0-9]*(.*)$/port = 5432$1/m or die;