postgres/rootfs/bin/initpg

6 lines
84 B
Plaintext
Raw Permalink Normal View History

2022-02-14 18:17:15 +00:00
#!/bin/sh
2022-02-13 07:23:50 +00:00
2022-02-13 08:24:05 +00:00
if [ ! -f "$PGDATA/PG_VERSION" ]; then
initdb --username=postgres
2022-02-13 07:23:50 +00:00
fi