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:
154e6a4
)
Update postgres.template.yml
author
Sam
<sam.saffron@gmail.com>
Sat, 22 Mar 2014 21:08:00 +0000
(08:08 +1100)
committer
Sam
<sam.saffron@gmail.com>
Sat, 22 Mar 2014 21:08:00 +0000
(08:08 +1100)
add an update so we can get the package
templates/postgres.template.yml
patch
|
blob
|
blame
|
history
diff --git
a/templates/postgres.template.yml
b/templates/postgres.template.yml
index f924f1bf00b0d2b5810d2d9e92eeff0052cf7c9b..66df9e4fce3be0934e90ae3405de14f3dc302383 100644
(file)
--- a/
templates/postgres.template.yml
+++ b/
templates/postgres.template.yml
@@
-55,6
+55,7
@@
run:
echo Upgrading PostgreSQL to from version 9.2 to 9.3
rm -fr /shared/postgres_data_new
install -d -m 0755 -o postgres -g postgres /shared/postgres_data_new && sudo -u postgres /usr/lib/postgresql/9.3/bin/initdb -D /shared/postgres_data_new || exit 0
+ apt-get update
apt-get install -y postgresql-9.2
/etc/init.d/postgresql stop
rm -fr /shared/postgres_data/postmaster.pid