mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
patch 0002
This commit is contained in:
parent
3a1d427ea0
commit
cb344d7d47
60 changed files with 211 additions and 172 deletions
|
@ -1,4 +1,4 @@
|
|||
{% if is_debian %}
|
||||
{% if is_debuntu %}
|
||||
[Unit]
|
||||
Description=PostgreSQL database server
|
||||
After=network.target
|
||||
|
@ -27,9 +27,9 @@ Environment=PGSTARTTIMEOUT=270
|
|||
|
||||
Environment=PGDATA=/library/pgsql-xs
|
||||
|
||||
ExecStart=/usr/lib/postgresql/9.4/bin/pg_ctl start -D ${PGDATA} -s -w -t ${PGSTARTTIMEOUT}
|
||||
ExecStop=/usr/lib/postgresql/9.4/bin/pg_ctl stop -D ${PGDATA} -s -m fast
|
||||
ExecReload=/usr/lib/postgresql/9.4/bin/pg_ctl reload -D ${PGDATA} -s
|
||||
ExecStart=/usr/lib/postgresql/{{ postgresql_version }}/bin/pg_ctl start -D ${PGDATA} -s -w -t ${PGSTARTTIMEOUT}
|
||||
ExecStop=/usr/lib/postgresql/{{ postgresql_version }}/bin/pg_ctl stop -D ${PGDATA} -s -m fast
|
||||
ExecReload=/usr/lib/postgresql/{{ postgresql_version }}/bin/pg_ctl reload -D ${PGDATA} -s
|
||||
|
||||
# Give a reasonable amount of time for the server to start up/shut down.
|
||||
# Ideally, the timeout for starting PostgreSQL server should be handled more
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue