[Pkg-postgresql-public] Bug#854215: [postgresql] Cleanup .service file (Restart=on-failure works?)
myon at debian.org
Mon Feb 6 12:00:04 UTC 2017
Re: Sophie 2017-02-05 <7dd902c4-c37a-c4a9-ba31-3a411395a913 at hemio.de>
> The default systemd unit file contains comments like
> # restarting automatically will prevent "pg_ctlcluster ... stop" from
> # (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.
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: postgresql at 9.4-main.service start operation timed out.
Hmm, that sounds bad. What's in the postgresql-9.4-main.log file in
/var/log/postgresql/ when that's happening?
More information about the Pkg-postgresql-public