Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1omwEN-0000lK-4D for pgsql-general@arkaria.postgresql.org; Mon, 24 Oct 2022 12:06:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1omwEK-0000iG-Jg for pgsql-general@arkaria.postgresql.org; Mon, 24 Oct 2022 12:06:56 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1omwEK-0000i6-9I for pgsql-general@lists.postgresql.org; Mon, 24 Oct 2022 12:06:56 +0000 Received: from mail.hjp.at ([212.17.106.138] helo=rorschach.hjp.at) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1omwEA-0001cE-AN for pgsql-general@lists.postgresql.org; Mon, 24 Oct 2022 12:06:55 +0000 Received: by rorschach.hjp.at (Postfix, from userid 1000) id 60C617FCD; Mon, 24 Oct 2022 14:06:42 +0200 (CEST) Date: Mon, 24 Oct 2022 14:06:42 +0200 From: "Peter J. Holzer" To: pgsql-general@lists.postgresql.org Subject: Re: PostgreSql Service different path Message-ID: <20221024120642.65rhyegpx2maea4g@hjp.at> Mail-Followup-To: pgsql-general@lists.postgresql.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ldohovblenj3qxhu" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --ldohovblenj3qxhu Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 >=20 > and update the postgresql.conf to the new path, now when I start the serv= ice, > it has an error and when I check it says=A0 [doesn't use /home/dmartuser/pgsql/14/data] >=20 > How can I point the service to read the new path ( /home/dmartuser/pgsql/= 14/ > data )?=A0 Check the systemd configuration file for this service. hp --=20 _ | Peter J. Holzer | Story must make more sense than reality. |_|_) | | | | | hjp@hjp.at | -- Charles Stross, "Creative writing __/ | http://www.hjp.at/ | challenge!" --ldohovblenj3qxhu Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEETtJbRjyPwVTYGJ5k8g5IURL+KF0FAmNWf80ACgkQ8g5IURL+ KF1n6A//QzaPzRw1+M+AEX6lqLTNkw5iEA0RvoCZwGEoxtBqFgOk8Oo+yqZdue16 vRt0xCJteJaUr9KNzN85l53YVP3hzBdivZME1R6nLBK/w3tAYHoHNR1PRqS9PTBq KRwKaGustp/7sZnk8qi9nbKYsUnwzT0HzxVJBgeCQsgniOmknfOFWHSlYChF28Lr QrsmCZACcw4kS7mwaCyysbdkgpNk6URQrvXClXq4r+JByNDv2HkXNXCcrCRJUBds qvWC9+wTq0E3Ym58vUsIEaIIgbR/ORyho5uG5ZFiCA/0mS/HgluLjBbLR4Id5348 rEAxn0ZJb1B/fBQ4TQCpkbHFnkOpE4YCx6o3sQHPrttF6hOgBJUPpIkA1ETnIxAG LiDxDCdIZrkw/xuGdPLvVecnSF/z0AiWucbebLpTF53Kea2TrtPPnu3jOHZvYtAC 1O8QT8o9YT39cwPV4BpNwmP1l84tgZK3ZcmBrFpmJhcL6wHDb2Igved+vDy1x1Hw qyp6CZ7bwulugm/+udGaszHuh+Wh+96IeuDiqsKnnOzn42raTbgP9cszMEjUAms/ Cc441FyeUZRRaN7lpXmJi2eRCE1TWscEiLJ5n1KNowab+eeql5lGtGhSUc0zhBut YVZGL4e+vkf02lChLbwetKNBECNfvS0s2Lni/xPaDzBuS/7r7ds= =VJyz -----END PGP SIGNATURE----- --ldohovblenj3qxhu--