From eb69ea3cf1442e45e6933792f8490c5a81a4d454 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Wed, 5 Sep 2018 23:08:55 +0200 Subject: [PATCH] fixes --- ckan/setup.sh | 0 lxc-build | 1 + postgres/setup.sh | 2 +- 3 files changed, 2 insertions(+), 1 deletion(-) mode change 100644 => 100755 ckan/setup.sh diff --git a/ckan/setup.sh b/ckan/setup.sh old mode 100644 new mode 100755 diff --git a/lxc-build b/lxc-build index 714d611..7d98676 100755 --- a/lxc-build +++ b/lxc-build @@ -135,3 +135,4 @@ for line in recipe: cmd = line.split()[1] rebuild_config() layers.append('{}/delta0'.format(image)) +rebuild_config() diff --git a/postgres/setup.sh b/postgres/setup.sh index 448f6fc..405e399 100755 --- a/postgres/setup.sh +++ b/postgres/setup.sh @@ -7,7 +7,7 @@ SOURCE_DIR=$(realpath $(dirname "${0}"))/setup mkdir -p /srv/postgres/data chown -R 5432:5432 /srv/postgres/data chmod 700 /srv/postgres/data -lxc-execute -n postgres -- postgres initdb -D /var/lib/postgresql +lxc-execute -n postgres -- sh -lc 'initdb -D /var/lib/postgresql' # Configure Postgres cp ${SOURCE_DIR}/srv/postgres/data/postgresql.conf /srv/postgres/data/postgresql.conf