From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C1D3513877A for ; Mon, 1 Sep 2014 16:12:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7BF35E0A65; Mon, 1 Sep 2014 16:10:04 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 41E22E09F5 for ; Mon, 1 Sep 2014 16:10:03 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id rl12so6105632iec.25 for ; Mon, 01 Sep 2014 09:10:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=5F1Vk3sK7lHs/WQGHeXCr1hAIugQkxR8RqxqNdMTy4U=; b=fSOSbJbSyLzScecW1Vs3WDae2a731hcNEtiXBcVVshVnyFD8IzKpj7ZK0+pRaHap3I NI0NKuNrDt6vh/cekl5ktAKBzzU1yBWazIFZL7wrPQNk7CDPpo6jP39Kq5dz4peqowOk g9TXeenK02QxAdNHEeyag7QxTgoxqHlcWnuTXZK2bcotFhbaTPDxbpO4kt+ZG+pLrSfg FMlRk11acslTYoCNL4dw4LJey04i/aAb/6djPMkOs7mrPXM9e5LOkvIgQavZiT8wPnCK 7pk9sqycQMWRv0aop3B4WVkPhiPxsZ238pyW2kqHX5ampCLmdkWOCMNQJCaOh751s6qN LhKA== X-Received: by 10.50.43.193 with SMTP id y1mr22333007igl.32.1409587802526; Mon, 01 Sep 2014 09:10:02 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Received: by 10.107.11.130 with HTTP; Mon, 1 Sep 2014 09:09:42 -0700 (PDT) In-Reply-To: <20140901154638.GA28479@gengoff.gsmr1.local> References: <53C51107.8090308@gentoo.org> <1405424184.1378.1.camel@gentoo.org> <53C52422.9070308@gentoo.org> <20140822172318.GA24962@gengoff.gsmr1.local> <20140901154638.GA28479@gengoff.gsmr1.local> From: =?UTF-8?B?Q2FuZWsgUGVsw6FleiBWYWxkw6lz?= Date: Mon, 1 Sep 2014 11:09:42 -0500 Message-ID: Subject: Re: [gentoo-dev] systemd + postgresql is non-obvious to me To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: a0706530-8c38-408e-a642-71c77827e248 X-Archives-Hash: d5003b3255842d43bbe29fe71df715d0 On Mon, Sep 1, 2014 at 10:46 AM, Aaron W. Swenson w= rote: > On 2014-08-22 14:07, Rich Freeman wrote: >> On Fri, Aug 22, 2014 at 1:23 PM, Aaron W. Swenson wrote: >> > On the whole, I'm displeased with the systemd alternative for >> > controlling PostgreSQL. It's significantly hampered and doesn't allow >> > as much flexibility as the initscript. The major issue being trying to >> > nicely shut down the server instead of jumping straight to murder. >> > >> >> It looks like the package installs a service file provided by >> upstream, so you might want to direct your complaint there unless it >> really is a systemd limitation. > > Delayed response, I've been looking into this as I've been working on > unifying the ebuilds, but I can't find where upstream is providing the > systemd unit. The only one I have is the one we've made. It is included in: http://dev.gentoo.org/~titanofold/postgresql-initscript-2.6.tbz2 It doesn't says who the author is; but he or she was the one deciding to wait five minutes (TimeoutSec=3D300) for the server to stop (and also to disable the OOM killer: OOMScoreAdjust=3D-1000). Regards. --=20 Canek Pel=C3=A1ez Vald=C3=A9s Profesor de asignatura, Facultad de Ciencias Universidad Nacional Aut=C3=B3noma de M=C3=A9xico