From: Sam Date: Tue, 17 May 2016 12:17:23 +0000 (+1000) Subject: improve template X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=429345196ce354171820d60c1b4a3efa495a0814;p=discourse_docker.git improve template --- diff --git a/templates/postgres.9.3.template.yml b/templates/postgres.9.3.template.yml index cd8e280..fc1308c 100644 --- 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