Re: Moving the data directory for systemd service startup

From: Evan Rempel <erempel(at)uvic(dot)ca>
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: Moving the data directory for systemd service startup
Date: 2018-07-23 17:36:46
Message-ID: 9c40dc98-feb2-9064-e4d5-56d976da6c8f@uvic.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Sorry for the quick reply (without reading it completely).
The document you refer to does address by question on how to augment/extend the configuration of the system unit file.

Thanks,

On 07/23/2018 10:29 AM, Evan Rempel wrote:
> 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_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.
>>
>

--
Evan

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Johannes Truschnigg 2018-07-23 17:40:49 Re: Moving the data directory for systemd service startup
Previous Message Evan Rempel 2018-07-23 17:29:52 Re: Moving the data directory for systemd service startup