pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Evan Rempel <erempel@uvic.ca>
To: pgsql-admin@lists.postgresql.org
Subject: Re: Moving the data directory for systemd service startup
Date: Mon, 23 Jul 2018 10:29:52 -0700
Message-ID: <89787ab2-f7a6-9a15-ba29-1e7dc6b9befb@uvic.ca> (raw)
In-Reply-To: <20180723172652.slykd5awgpx7qx6i@vault.lan>
References: <56130215-3c42-69cd-2d01-6f8aea6da46a@uvic.ca>
	<20180723172652.slykd5awgpx7qx6i@vault.lan>

Except that the systemd file comes from the postgresql10-server RPM produced by the PostgreSQL community.

I was trying to figure out how the PostgreSQL systemd service file authors intended users to configure a different
data directory than the default.

On 07/23/2018 10:26 AM, Johannes Truschnigg wrote:
> Hi Evan,
>
> On Mon, Jul 23, 2018 at 10:19:31AM -0700, Evan Rempel wrote:
>> [...]
>> Am I missing something, or is the configuration of the systemd unit file an oversight?
> That's not really a question related to PostgreSQL, but to systemd, and how to
> "override" (parts of) your systems' unit files.
>
> Since you appear to be on EL7, you best check out the docs your distro
> provides on the matter:
>
> https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system_administrators_...
>
> (Spoiler alert: All systemd-using distros are pretty much the same in these
> regards, which is one of the benefits of converging towards this service
> manager in the GNU/Linux ecosystem.)
>
> Hth.
>

-- 
Evan Rempel                                      erempel@uvic.ca
Senior Systems Administrator                        250.721.7691
Data Centre Services, University Systems, University of Victoria





view thread (6+ messages)  latest in thread

Message-ID: <89787ab2-f7a6-9a15-ba29-1e7dc6b9befb@uvic.ca>
Permalink:  ../89787ab2-f7a6-9a15-ba29-1e7dc6b9befb@uvic.ca/
Also on:    postgresql.org/message-id/89787ab2-f7a6-9a15-ba29-1e7dc6b9befb@uvic.ca

 · 

reply

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-admin@postgresql.org
  Cc: erempel@uvic.ca
  Subject: Re: Moving the data directory for systemd service startup
  In-Reply-To: <89787ab2-f7a6-9a15-ba29-1e7dc6b9befb@uvic.ca>
  References: <56130215-3c42-69cd-2d01-6f8aea6da46a@uvic.ca> <20180723172652.slykd5awgpx7qx6i@vault.lan> <89787ab2-f7a6-9a15-ba29-1e7dc6b9befb@uvic.ca>

* 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