Re: To b...@debian.org 2015-12-18 <20151218150513.gd28...@msg.df7cb.de>
> an update here: unfortunately it seems rather involved to have an
> umbrella service such as postgresql.service wait both for sub-service
> start and stop. Achieving one or the other is rather easy, we can just
> put "Before=postgresql.service" into postgresql@.service (sync start,
> this is what we have now), or "After=..." (sync stop), but not both.

There is a workaround that hasn't been mentioned here yet:

systemctl stop postgresql "postgresql@*"

> We'd really like to get this fixed, but at the moment it looks like
> synchronous start will have to do for now...

This needs fixing in systemd, I don't think we can do it on the PG
side.

Christoph

Reply via email to