Add option unix_socket_directories

This commit is contained in:
Julian Rother 2025-01-28 15:28:50 +01:00
parent a58f090af1
commit f97b24dbdd
Signed by: julian
GPG key ID: C19B924C0CD13341
2 changed files with 2 additions and 1 deletions

View file

@ -3,6 +3,7 @@ postgresql:
enable: True enable: True
keep_days: 3 keep_days: 3
listen_addresses: localhost listen_addresses: localhost
unix_socket_directories: /var/run/postgresql
max_connections: 100 max_connections: 100
shared_buffers: 128MB shared_buffers: 128MB
allowed_hosts: {} allowed_hosts: {}

View file

@ -64,7 +64,7 @@ listen_addresses = '{{ postgresql.listen_addresses }}' # what IP address(es) to
port = 5432 # (change requires restart) port = 5432 # (change requires restart)
max_connections = {{ postgresql.max_connections }} # (change requires restart) max_connections = {{ postgresql.max_connections }} # (change requires restart)
#superuser_reserved_connections = 3 # (change requires restart) #superuser_reserved_connections = 3 # (change requires restart)
unix_socket_directories = '/var/run/postgresql' # comma-separated list of directories unix_socket_directories = '{{ postgresql.unix_socket_directories }}' # comma-separated list of directories
# (change requires restart) # (change requires restart)
#unix_socket_group = '' # (change requires restart) #unix_socket_group = '' # (change requires restart)
#unix_socket_permissions = 0777 # begin with 0 to use octal notation #unix_socket_permissions = 0777 # begin with 0 to use octal notation