Re: Postgresql 9.3 not coming up after restart in centos
| От | balajishanmugam@live.in |
|---|---|
| Тема | Re: Postgresql 9.3 not coming up after restart in centos |
| Дата | |
| Msg-id | 1452108968726-5880677.post@n5.nabble.com обсуждение |
| Ответ на | Re: Postgresql 9.3 not coming up after restart in centos (Adrian Klaver <adrian.klaver@aklaver.com>) |
| Ответы |
Re: Postgresql 9.3 not coming up after restart in centos
|
| Список | 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 по дате отправления: