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

> I think you can simply use a drop-in config file:
>
> /etc/systemd/system/postgresql@.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@.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.

Reply via email to