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:
03bbcd0
)
fix pg missing dir
author
Sam
<sam.saffron@gmail.com>
Tue, 10 Mar 2015 04:21:43 +0000
(15:21 +1100)
committer
Sam
<sam.saffron@gmail.com>
Tue, 10 Mar 2015 04:21:43 +0000
(15:21 +1100)
templates/postgres.template.yml
patch
|
blob
|
blame
|
history
diff --git
a/templates/postgres.template.yml
b/templates/postgres.template.yml
index d851b8e22f4038f928941a5a2a8009595769efa9..21bdfbc7be40d6dde3dcde4a3fca2a709d2d9b9e 100644
(file)
--- a/
templates/postgres.template.yml
+++ b/
templates/postgres.template.yml
@@
-20,6
+20,8
@@
run:
- exec: socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1
- exec: rm -fr /shared/postgres_run/.s*
- 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
- file:
path: /etc/service/postgres/run
chmod: "+x"