33 lines
1.3 KiB
Plaintext
33 lines
1.3 KiB
Plaintext
#-------------------------------------------------------------------------------
|
|
# FILE LOCATIONS
|
|
# Please refer to official doc before editing this section:
|
|
# https://www.postgresql.org/docs/current/runtime-config-file-locations.html
|
|
#-------------------------------------------------------------------------------
|
|
|
|
# Change pg_hba location
|
|
hba_file = '/etc/postgres/pg_hba.conf'
|
|
|
|
|
|
#-------------------------------------------------------------------------------
|
|
# CONNECTIONS AND AUTHENTICATION
|
|
# Please refer to official doc before editing this section:
|
|
# https://www.postgresql.org/docs/current/runtime-config-connection.html
|
|
#-------------------------------------------------------------------------------
|
|
|
|
# Empty listen addresses to disable listening via TCP/IP
|
|
# because we want only uni socket connections
|
|
listen_addresses = ''
|
|
|
|
# Forbide access to users not in group postgres
|
|
unix_socket_permissions = 0770
|
|
|
|
|
|
#-------------------------------------------------------------------------------
|
|
# REPORTING AND LOGGING
|
|
# Please refer to official doc before editing this section:
|
|
# https://www.postgresql.org/docs/current/runtime-config-logging.html
|
|
#-------------------------------------------------------------------------------
|
|
|
|
# Redirect logs to stderr to be managed by journald
|
|
log_destination = 'stderr'
|