Re: Documentation/Behavior: Systemd Type=notify failure with pg_ctl on Debian 12 - Mailing list pgsql-docs

From David G. Johnston
Subject Re: Documentation/Behavior: Systemd Type=notify failure with pg_ctl on Debian 12
Date
Msg-id CAKFQuwbNUP0WU+N_s9P8xJi0uiiosMOHVk43Xar_FgbONRUYgg@mail.gmail.com
Whole thread
In response to Documentation/Behavior: Systemd Type=notify failure with pg_ctl on Debian 12  (PG Doc comments form <noreply@postgresql.org>)
List pgsql-docs
These forms submit plain text - submitting markdown makes them more difficult to review. In particular the link format doesn't play well with my mail reader's link auto-detection.

On Fri, Jan 9, 2026 at 1:10 AM PG Doc comments form <noreply@postgresql.org> wrote:
The documentation regarding Systemd integration (specifically when using
`pg_ctl` combined with `Type=notify`) might be incomplete.

Such documentation is nonexistent, not incomplete.  The provided unit file for systemd doesn't use pg_ctl, I suppose presumably for this or a similar reason.  It uses the postgres binary directly.

Such, I'm not seeing a bug here (I suppose a comment pointing out that/why pg_ctl is not used might be in order).  I'm not opposed to possibly adding more detail or alternatives to this part of the documentation - though the number of people doing their own unit files is few compared to those using ones bundled in a package - but the lack or responders seems to suggest such effort is not high on anyone's list.

David J.

pgsql-docs by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: Typo
Next
From: Greg Sabino Mullane
Date:
Subject: Re: Documentation/Behavior: Systemd Type=notify failure with pg_ctl on Debian 12