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

View file

@ -0,0 +1,2 @@
initdb
db-password

View file

@ -0,0 +1 @@
initdb

View file

@ -0,0 +1 @@
oneshot

View file

@ -0,0 +1 @@
s6-setuidgid postgres db-password

View file

@ -0,0 +1 @@
oneshot

View file

@ -0,0 +1 @@
s6-setuidgid postgres initdb

View file

@ -0,0 +1,3 @@
initdb
db-password
confd

View file

@ -0,0 +1,5 @@
#!/command/with-contenv sh
exec s6-setuidgid postgres postgres \
-D $PGDATA \
-c listen_addresses='*'

View file

@ -0,0 +1 @@
longrun