mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
services: postgresql: Change service default socket directory.
Fixes <https://bugs.gnu.org/46737>. PostgreSQL running with a different socket directory to the default one in the package itself breaks some services, this commit restores the previous behaviour where PostgreSQL by default will run with a socket directory that matches the default used by PostgreSQL packaged for Guix. Switching to a different default value can happen, but only alongside changing the PostgreSQL package. * gnu/services/databases.scm (<postgresql-config-file>)[socket-directory]: Change default to #false. * doc/guix.texi (Database Services): Update documentation, and specify a different value for disabling connections via sockets. * gnu/tests/guix.scm (%guix-data-service-os): Use default PostgreSQL behaviour. * gnu/tests/monitoring.scm (%zabbix-os): Likewise. * gnu/tests/web.scm (patchwork-os): Likewise. Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
parent
1bbed20332
commit
c311147bd1
5 changed files with 10 additions and 20 deletions
|
@ -115,7 +115,7 @@ host all all ::1/128 md5"))
|
|||
(ident-file postgresql-config-file-ident-file
|
||||
(default %default-postgres-ident))
|
||||
(socket-directory postgresql-config-file-socket-directory
|
||||
(default "/var/run/postgresql"))
|
||||
(default #false))
|
||||
(extra-config postgresql-config-file-extra-config
|
||||
(default '())))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue