Gentoo Archives: gentoo-dev

From: "Canek Peláez Valdés" <caneko@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] systemd + postgresql is non-obvious to me
Date: Mon, 01 Sep 2014 16:12:11
Message-Id: CADPrc80HzWLe2f9KEdXT78Rkq2nLns64DCg1J+OgMftaray3_A@mail.gmail.com
In Reply to: Re: [gentoo-dev] systemd + postgresql is non-obvious to me by "Aaron W. Swenson"
1 On Mon, Sep 1, 2014 at 10:46 AM, Aaron W. Swenson <titanofold@g.o> wrote:
2 > On 2014-08-22 14:07, Rich Freeman wrote:
3 >> On Fri, Aug 22, 2014 at 1:23 PM, Aaron W. Swenson <titanofold@g.o> wrote:
4 >> > On the whole, I'm displeased with the systemd alternative for
5 >> > controlling PostgreSQL. It's significantly hampered and doesn't allow
6 >> > as much flexibility as the initscript. The major issue being trying to
7 >> > nicely shut down the server instead of jumping straight to murder.
8 >> >
9 >>
10 >> It looks like the package installs a service file provided by
11 >> upstream, so you might want to direct your complaint there unless it
12 >> really is a systemd limitation.
13 >
14 > Delayed response, I've been looking into this as I've been working on
15 > unifying the ebuilds, but I can't find where upstream is providing the
16 > systemd unit. The only one I have is the one we've made.
17
18 It is included in:
19
20 http://dev.gentoo.org/~titanofold/postgresql-initscript-2.6.tbz2
21
22 It doesn't says who the author is; but he or she was the one deciding
23 to wait five minutes (TimeoutSec=300) for the server to stop (and also
24 to disable the OOM killer: OOMScoreAdjust=-1000).
25
26 Regards.
27 --
28 Canek Peláez Valdés
29 Profesor de asignatura, Facultad de Ciencias
30 Universidad Nacional Autónoma de México

Replies

Subject Author
Re: [gentoo-dev] systemd + postgresql is non-obvious to me "Aaron W. Swenson" <titanofold@g.o>