Re: Postgresql 9.3 not coming up after restart in centos - Mailing list pgsql-general

From balajishanmugam@live.in
Subject Re: Postgresql 9.3 not coming up after restart in centos
Date
Msg-id 1452108968726-5880677.post@n5.nabble.com
Whole thread Raw
In response to Re: Postgresql 9.3 not coming up after restart in centos  (Adrian Klaver <adrian.klaver@aklaver.com>)
Responses Re: Postgresql 9.3 not coming up after restart in centos  (Scott Marlowe <scott.marlowe@gmail.com>)
List pgsql-general
By application I mean centOS.

We are starting and stopping Postgres using systemd service. We have a
service file called postgresql9.3.service which is used to start or stop
Postgres.

Excerpts of postgresql9.3.service

ExecStartPre=/usr/pgsql-9.3/bin/postgresql93-check-db-dir ${PGDATA}
ExecStart=/usr/pgsql-9.3/bin/pg_ctl start -D ${PGDATA} -s -w -t 300
ExecStop=/usr/pgsql-9.3/bin/pg_ctl stop -D ${PGDATA} -s -m fast
ExecReload=/usr/pgsql-9.3/bin/pg_ctl reload -D ${PGDATA} -s








--
View this message in context:
http://postgresql.nabble.com/Postgresql-9-3-not-coming-up-after-restart-in-centos-tp5880435p5880677.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


pgsql-general by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Submitting to this list
Next
From: Scott Marlowe
Date:
Subject: Re: Postgresql 9.3 not coming up after restart in centos