postgres test2

This commit is contained in:
Disassembler 2018-09-06 14:52:46 +02:00
parent 03050dd389
commit b56ac216ce
Signed by: Disassembler
GPG Key ID: 524BD33A0EE29499
3 changed files with 2 additions and 10 deletions

View File

@ -1,3 +0,0 @@
#!/bin/sh
/bin/true

View File

@ -1,5 +0,0 @@
#!/bin/execlineb -P
fdmove -c 2 1
s6-setuidgid 5432:5432
/usr/bin/postgres -D /var/lib/postgresql

View File

@ -18,9 +18,9 @@ SCRIPT
chown postgres:postgres /run/postgresql
RUN
COPY lxc
COPY /bin/init.lxc.static
MOUNT /srv/postgres/data var/lib/postgresql
USER 5432 5432
CMD s6-svscan /etc/services.d
CMD /init.lxc.static -- /usr/bin/postgres -D /var/lib/postgresql