github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/deploy/postgresql/scripts/init_container.sh (about) 1 #!/bin/bash 2 set -o errexit 3 set -e 4 mkdir -p /home/postgres/pgdata/conf 5 chmod +777 -R /home/postgres/pgdata/conf 6 cp /home/postgres/conf/postgresql.conf /home/postgres/pgdata/conf 7 chmod +777 /home/postgres/pgdata/conf/postgresql.conf