Re: PSA: Systemd will kill PostgreSQL

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PSA: Systemd will kill PostgreSQL
Дата
Msg-id 716.1471358522@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PSA: Systemd will kill PostgreSQL  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Ответы Re: PSA: Systemd will kill PostgreSQL  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
> On 8/16/16 8:53 AM, Greg Stark wrote:
>> That's a system level change though. How would a normal user manage this?

> Arguably, if you are a normal user, you probably shouldn't be using
> systemd to start system services under your own account.

I'm not totally sure, but I think that the complaints were not about
systemd-driven services.  (In such a case, it's almost certainly possible
to fix it by adjusting your systemd unit definition file, anyway.)
Rather, the problem arises when J. Ordinary User does
nohup postmaster &

and then logs out.  That's certainly not much of a recipe for production
services but people have been known to do it for testing --- in fact,
that's pretty much what I do every day with test postmasters.  I suppose
whenever I migrate to a recent-systemd-based distro I'm going to have to
turn off this miserable excuse for a feature.  I sure hope there's a way
to do so.
        regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: PSA: Systemd will kill PostgreSQL
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: PSA: Systemd will kill PostgreSQL