[Pkg-postgresql-public] Bug#872915: Bug#759725: postgresql-common: non-synchronous service postgresql stop

Ludovic Gasc gmludo at gmail.com
Tue Aug 22 20:08:36 UTC 2017


2017-08-22 16:23 GMT+02:00 Christoph Berg <myon at debian.org>:

> I think you can simply use a drop-in config file:
>
> /etc/systemd/system/postgresql at .service.d/type.conf:
> [Service]
> Type=notify
>

With this configuration, the systemctl command never returns.
To be sure I didn't made a mistake during my test, I have edited directly
/lib/systemd/system/postgresql at .service
systemctl stop postgresql
systemctl daemon-reload
systemctl start postgresql

I have enabled full access to sd_notify with NotifyAccess=all in case of
the signal comes from a subprocess, but it doesn't fix the behaviour.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-postgresql-public/attachments/20170822/830f0ac0/attachment.html>


More information about the Pkg-postgresql-public mailing list