Complete lab7 grade 4 implementation
Skeleton contracts / contracts (pull_request) Canceled after 0s
Skeleton contracts / contracts (pull_request) Canceled after 0s
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
if [ "$(id -u)" = 0 ]; then
|
||||
install -o postgres -g postgres -m 0600 /run/secrets/postgres.key /var/lib/postgresql/data/server.key
|
||||
install -o postgres -g postgres -m 0644 /run/secrets/postgres.crt /var/lib/postgresql/data/server.crt
|
||||
install -o postgres -g postgres -m 0644 /run/secrets/ca.crt /var/lib/postgresql/data/ca.crt
|
||||
fi
|
||||
|
||||
exec /usr/local/bin/docker-entrypoint.sh "$@"
|
||||
Reference in New Issue
Block a user