fixes
This commit is contained in:
parent
1b07ef795e
commit
eb69ea3cf1
0
ckan/setup.sh
Normal file → Executable file
0
ckan/setup.sh
Normal file → Executable file
@ -135,3 +135,4 @@ for line in recipe:
|
|||||||
cmd = line.split()[1]
|
cmd = line.split()[1]
|
||||||
rebuild_config()
|
rebuild_config()
|
||||||
layers.append('{}/delta0'.format(image))
|
layers.append('{}/delta0'.format(image))
|
||||||
|
rebuild_config()
|
||||||
|
@ -7,7 +7,7 @@ SOURCE_DIR=$(realpath $(dirname "${0}"))/setup
|
|||||||
mkdir -p /srv/postgres/data
|
mkdir -p /srv/postgres/data
|
||||||
chown -R 5432:5432 /srv/postgres/data
|
chown -R 5432:5432 /srv/postgres/data
|
||||||
chmod 700 /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
|
# Configure Postgres
|
||||||
cp ${SOURCE_DIR}/srv/postgres/data/postgresql.conf /srv/postgres/data/postgresql.conf
|
cp ${SOURCE_DIR}/srv/postgres/data/postgresql.conf /srv/postgres/data/postgresql.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user