Re: Postgresql 9.3 not coming up after restart in centos

From: "balajishanmugam(at)live(dot)in" <balajishanmugam(at)live(dot)in>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Postgresql 9.3 not coming up after restart in centos
Date: 2016-01-06 19:36:08
Message-ID: 1452108968726-5880677.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2016-01-06 19:52:43 Re: Postgresql 9.3 not coming up after restart in centos
Previous Message David G. Johnston 2016-01-06 19:18:14 Re: Submitting to this list