switch to s6-rc
This commit is contained in:
parent
05459d3577
commit
b4e60794bb
2 changed files with 2 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
#!/command/with-contenv sh
|
||||
|
||||
if [ ! -f "/var/lib/postgresql/data/PG_VERSION" ]; then
|
||||
s6-setuidgid postgres initdb --username=postgres
|
||||
if [ ! -f "$PGDATA/PG_VERSION" ]; then
|
||||
initdb --username=postgres
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue