postgres/rootfs/bin/initdb

5 lines
101 B
Text
Executable file

#!/command/with-contenv sh
if [ ! -f "$PGDATA/PG_VERSION" ]; then
initdb --username=postgres
fi