Your message dated Sat, 8 Oct 2011 14:50:50 +0200
with message-id <[email protected]>
and subject line Re: Bug#618675: postgresql: Please include systemd service file
has caused the Debian Bug report #618675,
regarding postgresql: Please include systemd service file
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
618675: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=618675
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
Hello Mihcael,
Michael Stapelberg [2011-10-08 12:36 +0100]:
> Excerpts from Martin Pitt's message of 2011-10-08 10:55:24 +0100:
> > Any update on this? If not, I'll just close the bug.
> Well, my postgresql.service works for me, but clearly there is more work to do
> to have a generally working one. I don’t really have time to spend on this,
> though, so feel free to close the bug.
OK, doing.
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
--- End Message ---