Skip to content
Snippets Groups Projects
Commit 2ee1748c authored by Markus Demleitner's avatar Markus Demleitner
Browse files

stretch uses postgres 9.6.

parent 53719eb8
Branches
No related tags found
No related merge requests found
...@@ -13,9 +13,9 @@ echo 'pointing to this container here.' ...@@ -13,9 +13,9 @@ echo 'pointing to this container here.'
echo '===================================================' echo '==================================================='
echo '' echo ''
export PGDATA=/var/lib/postgresql/9.4 export PGDATA=/var/lib/postgresql/9.6
# postgres needs this directory for log files; then start postgres # postgres needs this directory for log files; then start postgres
mkdir -p -m 777 /var/run/postgresql/9.4-main.pg_stat_tmp/ mkdir -p -m 777 /var/run/postgresql/9.6-main.pg_stat_tmp/
su - postgres -c "/usr/lib/postgresql/9.4/bin/postgres \ su - postgres -c "/usr/lib/postgresql/9.6/bin/postgres \
-c config_file=/etc/postgresql/9.4/main/postgresql.conf \ -c config_file=/etc/postgresql/9.6/main/postgresql.conf \
-c logging_collector=on" -c logging_collector=on"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment