[Pkg-postgresql-public] Bug#759725: Acknowledgement (postgresql-common: non-synchronous service postgresql start/stop/reload)

Richard Hughes cyreve at gmail.com
Mon Sep 15 21:58:26 UTC 2014

A service which depends on postgresql (using the recommended
Requires=/After= pair) is also affected by this, because the service
cannot immediately connect to Postgres at startup.

This patch seems to make start/stop work for me, although it doesn't
do anything about reload:

--- a/postgresql at .service 2014-08-11 14:40:56.000000000 +0100
+++ b/postgresql at .service 2014-09-09 15:44:32.489366245 +0100
@@ -8,10 +8,12 @@

 # @: use "postgresql@%i" as process name
-ExecStart=@/usr/bin/pg_ctlcluster postgresql@%i --foreground --stdlog %i start
+ExecStart=@/usr/bin/pg_ctlcluster postgresql@%i --stdlog %i start
 ExecStop=/usr/bin/pg_ctlcluster -m fast %i stop
 ExecReload=/usr/bin/pg_ctlcluster %i reload

More information about the Pkg-postgresql-public mailing list