switch to s6-rc
This commit is contained in:
parent
5103f5b01f
commit
05459d3577
16 changed files with 31 additions and 20 deletions
2
rootfs/etc/s6-overlay/s6-rc.d/confd/dependencies
Normal file
2
rootfs/etc/s6-overlay/s6-rc.d/confd/dependencies
Normal file
|
@ -0,0 +1,2 @@
|
|||
initdb
|
||||
db-password
|
1
rootfs/etc/s6-overlay/s6-rc.d/db-password/dependencies
Normal file
1
rootfs/etc/s6-overlay/s6-rc.d/db-password/dependencies
Normal file
|
@ -0,0 +1 @@
|
|||
initdb
|
1
rootfs/etc/s6-overlay/s6-rc.d/db-password/type
Normal file
1
rootfs/etc/s6-overlay/s6-rc.d/db-password/type
Normal file
|
@ -0,0 +1 @@
|
|||
oneshot
|
1
rootfs/etc/s6-overlay/s6-rc.d/db-password/up
Normal file
1
rootfs/etc/s6-overlay/s6-rc.d/db-password/up
Normal file
|
@ -0,0 +1 @@
|
|||
s6-setuidgid postgres db-password
|
1
rootfs/etc/s6-overlay/s6-rc.d/initdb/type
Normal file
1
rootfs/etc/s6-overlay/s6-rc.d/initdb/type
Normal file
|
@ -0,0 +1 @@
|
|||
oneshot
|
1
rootfs/etc/s6-overlay/s6-rc.d/initdb/up
Normal file
1
rootfs/etc/s6-overlay/s6-rc.d/initdb/up
Normal file
|
@ -0,0 +1 @@
|
|||
s6-setuidgid postgres initdb
|
3
rootfs/etc/s6-overlay/s6-rc.d/postgres/dependencies
Normal file
3
rootfs/etc/s6-overlay/s6-rc.d/postgres/dependencies
Normal file
|
@ -0,0 +1,3 @@
|
|||
initdb
|
||||
db-password
|
||||
confd
|
5
rootfs/etc/s6-overlay/s6-rc.d/postgres/run
Normal file
5
rootfs/etc/s6-overlay/s6-rc.d/postgres/run
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/command/with-contenv sh
|
||||
|
||||
exec s6-setuidgid postgres postgres \
|
||||
-D $PGDATA \
|
||||
-c listen_addresses='*'
|
1
rootfs/etc/s6-overlay/s6-rc.d/postgres/type
Normal file
1
rootfs/etc/s6-overlay/s6-rc.d/postgres/type
Normal file
|
@ -0,0 +1 @@
|
|||
longrun
|
0
rootfs/etc/s6-overlay/s6-rc.d/user/contents.d/postgres
Normal file
0
rootfs/etc/s6-overlay/s6-rc.d/user/contents.d/postgres
Normal file
Loading…
Add table
Add a link
Reference in a new issue