Re: Moving the data directory for systemd service startup - Mailing list pgsql-admin

From Johannes Truschnigg
Subject Re: Moving the data directory for systemd service startup
Date
Msg-id 20180723172652.slykd5awgpx7qx6i@vault.lan
Whole thread Raw
In response to Moving the data directory for systemd service startup  (Evan Rempel <erempel@uvic.ca>)
Responses Re: Moving the data directory for systemd service startup  (Evan Rempel <erempel@uvic.ca>)
List pgsql-admin
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_guide/sect-managing_services_with_systemd-unit_files#sect-Managing_Services_with_systemd-Unit_File_Modify

(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.

--
with best regards:
- Johannes Truschnigg ( johannes@truschnigg.info )

www:   https://johannes.truschnigg.info/
phone: +43 650 2 133337
xmpp:  johannes@truschnigg.info

Please do not bother me with HTML-email or attachments. Thank you.

Attachment

pgsql-admin by date:

Previous
From: Ron
Date:
Subject: Re: Upgrade postgresql from 9.1 to 9.6
Next
From: Evan Rempel
Date:
Subject: Re: Moving the data directory for systemd service startup