From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Scott Whitney <scott@journyx.com>
Cc: Poul Kristensen <bcc5226@gmail.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: /var/run/postgresql/.s.PGSQL.5432 should be 5433
Date: Tue, 27 Sep 2016 11:51:00 -0300
Message-ID: <20160927145100.GA306029@alvherre.pgsql> (raw)
In-Reply-To: <BY1PR11MB0390F03EEC462700D6B25EBAA7CC0@BY1PR11MB0390.namprd11.prod.outlook.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>
Scott Whitney wrote:
> 1) You should have a script in /etc/init.d called something like postgresql-VERSION
>
>
> 2) Rename this to postgresql-SomeIdentifierThatRunsOn5432
>
> 3) Copy it to postgresql-SomeIdentifiedThatRunsOn5433
I think it's better to keep one of these under the original name, and
make the second one a symlink to it. That way, the whole system won't
break when the packages are updated. Other than that little detail,
your suggested procedure seems sound ... in a pre-systemd world. I am
not familiar with systemd enough to know what, if anything, should be
done differently there (I don't know whether RHEL 7.2 is systemd or
not).
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
--
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: alvherre@2ndquadrant.com, scott@journyx.com, bcc5226@gmail.com
Subject: Re: /var/run/postgresql/.s.PGSQL.5432 should be 5433
In-Reply-To: <20160927145100.GA306029@alvherre.pgsql>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox