6 lines
183 B
Bash
6 lines
183 B
Bash
#!/bin/sh
|
|
set -eu
|
|
install -d -o postgres -g postgres -m 0700 /tmp/db-tls
|
|
install -o postgres -g postgres -m 0600 /run/tls/db.key /tmp/db-tls/server.key
|
|
exec docker-entrypoint.sh "$@"
|