force postgres ownership recursively

This commit is contained in:
oznu
2018-03-08 21:08:18 +11:00
parent 409de55b82
commit 257a66056d
+1 -1
View File
@@ -1,7 +1,7 @@
#!/usr/bin/with-contenv sh
mkdir -p /config/postgres
chown postgres:postgres /config/postgres
chown -R postgres:postgres /config/postgres
chmod 0700 /config/postgres
if [ -e /config/postgres/postgresql.conf ]; then