From: Peter J. Holzer <hjp-pgsql@hjp.at>
To: pgsql-general@lists.postgresql.org
Subject: Re: PostgreSql Service different path
Date: Mon, 24 Oct 2022 14:06:42 +0200
Message-ID: <20221024120642.65rhyegpx2maea4g@hjp.at> (raw)
In-Reply-To: <CADRdQ7qtqTGPbeKg2Seod0-s+54fa_QG8kBP3JBRpea0ueX5SA@mail.gmail.com>
References: <CADRdQ7qtqTGPbeKg2Seod0-s+54fa_QG8kBP3JBRpea0ueX5SA@mail.gmail.com>
On 2022-10-24 15:51:30 +0800, chris navarroza wrote:
> sudo yum install postgresql14-server postgresql14-contrib
[...]
> /usr/pgsql-14/bin/initdb -D /home/dmartuser/pgsql/14/data
>
> and update the postgresql.conf to the new path, now when I start the service,
> it has an error and when I check it says
[doesn't use /home/dmartuser/pgsql/14/data]
>
> How can I point the service to read the new path ( /home/dmartuser/pgsql/14/
> data )?
Check the systemd configuration file for this service.
hp
--
_ | Peter J. Holzer | Story must make more sense than reality.
|_|_) | |
| | | hjp@hjp.at | -- Charles Stross, "Creative writing
__/ | http://www.hjp.at/ | challenge!"
Attachments:
signature.asc (application/pgp-signature, 832B) download
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: hjp-pgsql@hjp.at
Subject: Re: PostgreSql Service different path
In-Reply-To: <20221024120642.65rhyegpx2maea4g@hjp.at>
References: <CADRdQ7qtqTGPbeKg2Seod0-s+54fa_QG8kBP3JBRpea0ueX5SA@mail.gmail.com> <20221024120642.65rhyegpx2maea4g@hjp.at>
* 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