[Pkg-postgresql-public] Bug#854215: [postgresql] Cleanup .service file (Restart=on-failure works?)
Sophie
sophie at hemio.de
Sun Feb 5 06:58:43 UTC 2017
Package: postgresql
Version: 9.6+178
Severity: normal
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.
==
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]: postgresql at 9.4-main.service start operation timed out.
Terminating.
So maybe it's not to bad to have a Restart=on-failure.
More information about the Pkg-postgresql-public
mailing list