diff --git a/root/etc/cont-init.d/40-postgres.sh b/root/etc/cont-init.d/40-postgres.sh index 92a7acb..9b766fa 100644 --- a/root/etc/cont-init.d/40-postgres.sh +++ b/root/etc/cont-init.d/40-postgres.sh @@ -1,6 +1,8 @@ #!/usr/bin/with-contenv sh mkdir -p /config/postgres +mkdir -p /var/run/postgresql +chown postgres:postgres /var/run/postgresql chown -R postgres:postgres /config/postgres chmod 0700 /config/postgres