Re: PostgreSql Service different path

From: "Peter J(dot) Holzer" <hjp-pgsql(at)hjp(dot)at>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: PostgreSql Service different path
Date: 2022-10-24 12:06:42
Message-ID: 20221024120642.65rhyegpx2maea4g@hjp.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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(at)hjp(dot)at | -- Charles Stross, "Creative writing
__/ | http://www.hjp.at/ | challenge!"

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ajin Cherian 2022-10-24 12:29:34 Re: Support logical replication of DDLs
Previous Message chris navarroza 2022-10-24 11:25:45 Re: PostgreSql Service different path