7 lines
178 B
Bash
Executable File
7 lines
178 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
cp /run/tls/identity/key.pem /tmp/postgres-key.pem
|
|
chown postgres:postgres /tmp/postgres-key.pem
|
|
chmod 600 /tmp/postgres-key.pem
|
|
exec docker-entrypoint.sh "$@"
|