projects
/
discourse_docker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e924eb6
)
try to force port in template
author
Sam
<sam.saffron@gmail.com>
Tue, 17 May 2016 13:06:12 +0000
(23:06 +1000)
committer
Sam
<sam.saffron@gmail.com>
Tue, 17 May 2016 13:06:12 +0000
(23:06 +1000)
templates/postgres.9.3.template.yml
patch
|
blob
|
blame
|
history
diff --git
a/templates/postgres.9.3.template.yml
b/templates/postgres.9.3.template.yml
index 57f1398ab4f18e3687e3a85def8393d61403d17c..8276767aa9df7f9ba6e8b495631062f279eecd37 100644
(file)
--- a/
templates/postgres.9.3.template.yml
+++ b/
templates/postgres.9.3.template.yml
@@
-33,6
+33,10
@@
run:
- exec: rm -fr /shared/postgres_run/*.pid
- exec: mkdir -p /shared/postgres_run/9.3-main.pg_stat_tmp
- exec: chown postgres:postgres /shared/postgres_run/9.3-main.pg_stat_tmp
+ - replace:
+ filename: "/etc/postgresql/9.3/main/postgresql.conf"
+ from: /port =.*/
+ to: "port = 5432"
- file:
path: /etc/service/postgres/run
chmod: "+x"