postgres/rootfs/bin/initdb

6 lines
101 B
Text
Raw Normal View History

2022-02-13 08:23:50 +01:00
#!/command/with-contenv sh
2022-02-13 09:24:05 +01:00
if [ ! -f "$PGDATA/PG_VERSION" ]; then
initdb --username=postgres
2022-02-13 08:23:50 +01:00
fi