[Pkg-postgresql-public] systemd support

Stephen Frost sfrost at snowman.net
Tue Mar 4 18:49:28 UTC 2014


* Christoph Berg (myon at 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 - this seems more like the systemd
> way to do it.

This is going to have to be optional, isn't it?  I know that I'm
frequently running pg_ctlcluster myself, and aren't we going to need to
support kfreebsd with the traditional init system?

> I'd be curious to hear any feedback about that approach. Particularly,
> we probably need to think about where the log should go to by default
> (daemon.log now).

I'd be pretty disappointed if we lost the logging to
/var/log/postgresql that we have today for the startup..  Perhaps that
can be run through systemd/syslog, or we can use 'tee' or similar to do
it..?

	Thanks!

		Stephen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-postgresql-public/attachments/20140304/4c3beef0/attachment.sig>


More information about the Pkg-postgresql-public mailing list