Re: Question about servicescript for stopping and starting postgresql instance

2018-10-31 Thread Marian Forums
Hi, Postgres was installed through a repo with yum install. I will try to run it with another type. Regards Marian > Op 30 okt. 2018 om 21:56 heeft Adrian Klaver het > volgende geschreven: > >> On 10/30/18 9:27 AM, Marian Forums wrote: >> Hi Adrain, >> Thanks for

Re: Question about servicescript for stopping and starting postgresql instance

2018-10-30 Thread Marian Forums
/pg_ctl reload -D ${PGDATA} -s Restart=on-failure KillMode=control-group ExecStop=/bin/kill -SIGTERM $MAINPID RestartSec=10s [Install] WantedBy=multi-user.target thanks in advance. regards, Marian Op di 30 okt. 2018 om 14:30 schreef Adrian Klaver : > On 10/30/18 5:09 AM, Marian Forums wrote: >

Question about servicescript for stopping and starting postgresql instance

2018-10-30 Thread Marian Forums
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