switch to s6-rc

This commit is contained in:
Sebastian Hugentobler 2022-02-13 08:23:50 +01:00
parent 5103f5b01f
commit 05459d3577
Signed by: shu
GPG key ID: BB32CF3CA052C2F0
16 changed files with 31 additions and 20 deletions

5
rootfs/bin/initdb Executable file
View file

@ -0,0 +1,5 @@
#!/command/with-contenv sh
if [ ! -f "/var/lib/postgresql/data/PG_VERSION" ]; then
s6-setuidgid postgres initdb --username=postgres
fi