diff --git a/entrypoint.sh b/entrypoint.sh index 580ff69..cdf5922 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -80,7 +80,7 @@ if [ "$(id -u)" = '0' ]; then exec gosu postgres "$BASH_SOURCE" fi -install --verbose --directory --owner postgres --group postgres --mode 1700 /var/lib/postgresql/.ssh +install --directory --owner postgres --group postgres --mode 700 /var/lib/postgresql/.ssh cp /ssh/* /var/lib/postgresql/.ssh/ chmod 600 /var/lib/postgresql/.ssh/*