Re: [Pkg-postgresql-public] systemd support

2014-03-04 Thread Daniel Kahn Gillmor
On 03/04/2014 06:49 PM, Stephen Frost wrote: > * Christoph Berg (m...@debian.org) wrote: >> I've written systemd unit files for managing PostgreSQL clusters. > > Neat stuff! seconded! >> To work, you also need the pg_ctlcluster version from HEAD. >> pg_ctlcluster now invokes postgres directly s

Re: [Pkg-postgresql-public] systemd support

2014-03-04 Thread Stephen Frost
* Christoph Berg (m...@debian.org) wrote: > I've written systemd unit files for managing PostgreSQL clusters. Neat stuff! > To work, you also need the pg_ctlcluster version from HEAD. > pg_ctlcluster now invokes postgres directly so it runs in foreground > instead of daemonizing with pg_ctl - th

[Pkg-postgresql-public] systemd support

2014-03-04 Thread Christoph Berg
Hi, I've written systemd unit files for managing PostgreSQL clusters. The idea is to run each cluster on its own using systemd's templating mechanism. There is a master postgresql.service that doesn't do much except serving as a way to make start/stop/restart/reload work for all running clusters,