Re: Sophie 2017-02-05 <[email protected]>
> The default systemd unit file contains comments like
> 
> # restarting automatically will prevent "pg_ctlcluster ... stop" from
> working,
> [...]
> # (This should make pg_ctlcluster stop work, but doesn't:)
> 
> I enabled Restart=on-failure and I am able to stop and start the cluster
> via systemd. Even on stable. So maybe this is outdated.

Hi,

I'll give that another try to see if it's behaving better now. Thanks
for the input!

> I enabled Restart=on-failure because 9.4+165+deb8u2 on stable, because
> it started to have problems with systemd communication on first start
> after system restarts, while working fine otherwise:
> 
> systemd[1]: [email protected] start operation timed out.
> Terminating.

Hmm, that sounds bad. What's in the postgresql-9.4-main.log file in
/var/log/postgresql/ when that's happening?

Christoph

Reply via email to