Skip to content
Snippets Groups Projects
Commit fc64f26e authored by Carlos Brandt's avatar Carlos Brandt
Browse files

Small adjustments (syntax basically)

parent 2ee1748c
Branches
Tags
No related merge requests found
......@@ -17,7 +17,8 @@ RUN DEBIAN_FRONTEND='noninteractive' && \
ENV LANG C.UTF-8
RUN echo LANG="$LANG" > /etc/default/locale
RUN echo 'deb http://vo.ari.uni-heidelberg.de/debian release main' > /etc/apt/sources.list.d/gavo.list && \
RUN echo 'deb http://vo.ari.uni-heidelberg.de/debian release main' \
> /etc/apt/sources.list.d/gavo.list && \
wget -qO - http://docs.g-vo.org/archive-key.asc | apt-key add -
RUN DEBIAN_FRONTEND='noninteractive' && \
......
......@@ -13,9 +13,9 @@ echo 'pointing to this container here.'
echo '==================================================='
echo ''
export PGDATA=/var/lib/postgresql/9.6
export PGDATA=/var/lib/postgresql/${PG_VERSION}
# postgres needs this directory for log files; then start postgres
mkdir -p -m 777 /var/run/postgresql/9.6-main.pg_stat_tmp/
su - postgres -c "/usr/lib/postgresql/9.6/bin/postgres \
-c config_file=/etc/postgresql/9.6/main/postgresql.conf \
mkdir -p -m 777 /var/run/postgresql/${PG_VERSION}-main.pg_stat_tmp/
su - postgres -c "/usr/lib/postgresql/${PG_VERSION}/bin/postgres \
-c config_file=/etc/postgresql/${PG_VERSION}/main/postgresql.conf \
-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