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:
4669716
)
improve template
author
Sam
<sam.saffron@gmail.com>
Tue, 17 May 2016 12:17:23 +0000
(22:17 +1000)
committer
Sam
<sam.saffron@gmail.com>
Tue, 17 May 2016 12:17:23 +0000
(22:17 +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 cd8e28081c20bfa8a73c6c3745830b0821d5efbf..fc1308ccc4a0d502849bf8996c6d3b1839d98ec4 100644
(file)
--- a/
templates/postgres.9.3.template.yml
+++ b/
templates/postgres.9.3.template.yml
@@
-6,6
+6,8
@@
hooks:
to: sv start postgres || exit 1
run:
+ - exec: apt-get update && apt-get install -y postgresql-9.3
+ - exec: /etc/init.d/postgresql stop
- exec: mkdir -p /shared/postgres_run
- exec: chown postgres:postgres /shared/postgres_run
- exec: chmod 775 /shared/postgres_run