postgres/rootfs/bin/initdb

6 lines
101 B
Plaintext
Executable File

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