diff --git a/entrypoint.sh b/entrypoint.sh index ba82e19..210afbc 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -28,7 +28,7 @@ docker_setup_env() { } if [ "$(id -u)" = '0' ]; then - service ssh start + sudo service ssh start chown -R postgres /etc/pgpool2 exec gosu postgres "$BASH_SOURCE" fi