Package: postgresql Version: 9.0.3-1 Severity: wishlist Tags: patch
Hi, I wrote a systemd service file for postgresql (accomplishes the same task as an init script). Using the native service file instead of systemd’s init script compatiblity layer allows you to disable the service at boot time and allow manual starting, for example. Also, it starts quite a bit faster due to not having to run a shell script and a perl script (pg_ctlcluster). So, please integrate the attached two files (and contact upstream about also including it): • [email protected] should be placed at /lib/systemd/system/[email protected]. It allows you to run multiple versions of the postgresql server, set it up like this: ln -sf /lib/systemd/system/[email protected] \ /etc/systemd/system/postgresql.target.wants/[email protected] • /etc/tmpfiles.d/postgresql.conf is responsible for creating /var/run/postgresql Thanks! Best regards, Michael BTW: General usage hints for testing this: # systemctl daemon-reload # systemctl status [email protected] # systemctl start [email protected] See also http://wiki.debian.org/systemd
[email protected]
Description: Binary data
postgresql.conf
Description: Binary data

