From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] postgresql: change systemd service type to notify
Date: Wed, 6 Feb 2019 12:56:01 +0100 [thread overview]
Message-ID: <20190206125601.3eecebd2@windsurf> (raw)
In-Reply-To: <20190204185340.3689-1-titouan.christophe@railnova.eu>
On Mon, 4 Feb 2019 19:53:40 +0100
Titouan Christophe <titouan.christophe@railnova.eu> wrote:
> From: Joseph Kogut <joseph.kogut@gmail.com>
>
> During activation, pg_ctl uses exec to start the db server, which causes
> the service to never finish activating when Type=forking. Upstream
> recommends configuring --with-systemd and using Type=notify.
>
> https://www.postgresql.org/docs/10/static/server-start.html
>
> Upstream says:
> When using systemd, you can use the following service unit file
> [...]
> Using Type=notify requires that the server binary was built with
> configure --with-systemd.
>
> Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
> Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
> ---
> package/postgresql/postgresql.mk | 8 ++++++++
> package/postgresql/postgresql.service | 12 ++++++++----
> 2 files changed, 16 insertions(+), 4 deletions(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2019-02-06 11:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-29 18:31 [Buildroot] [PATCH 1/1] postgresql: change systemd service type to notify Joseph Kogut
2018-08-21 21:47 ` Yann E. MORIN
2018-08-21 21:57 ` Yann E. MORIN
2018-08-21 23:04 ` Joseph Kogut
2019-02-04 18:53 ` Titouan Christophe
2019-02-06 11:56 ` Thomas Petazzoni [this message]
2019-02-18 22:25 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190206125601.3eecebd2@windsurf \
--to=thomas.petazzoni@bootlin.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.