Question about servicescript for stopping and starting postgresql instance

Поиск
Список
Период
Сортировка
От Marian Forums
Тема Question about servicescript for stopping and starting postgresql instance
Дата
Msg-id CAO42mcK+iWP_yWOBGUHWhu3Embjf6DUSe3LZubqPGfK_WQr7SA@mail.gmail.com
обсуждение исходный текст
Ответы Re: Question about servicescript for stopping and starting postgresqlinstance  (Adrian Klaver <adrian.klaver@aklaver.com>)
Список pgsql-general
Hi,

I have a question about creating a service script to start/stop/status postgresql instance ( version 9.6.8) on Red Hat 7.

I have read the explanation of how to create such a service script on https://www.postgresql.org/docs/9.6/static/server-start.html .

Stopping and Starting works. 
However when I stop the service with:
systemctl stop postgresq.service and than ask for the status with systemctl status postgresql.service, the service gets started again.

Is this normal functionality on Red Hat 7? 
I have searched on the Internet ( including the Red Hat site) for a parameter to replace this behavior, but did not find anything.

Your help is much appreciated.
Thanks in advance.
Regards,
Marian

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

Предыдущее
От: Christoph Moench-Tegeder
Дата:
Сообщение: Re: Problem with commit in function
Следующее
От: Scot Kreienkamp
Дата:
Сообщение: RE: How to change standby node to sync from the new master withoutrebooting the PostgreSQL service?