postgres/rootfs/bin/initdb

6 lines
84 B
Bash
Executable File

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