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
|
|
@ -309,12 +309,7 @@ zabbix||{}
|
|||
(service dhcp-client-service-type)
|
||||
(service postgresql-service-type
|
||||
(postgresql-configuration
|
||||
(postgresql postgresql)
|
||||
;; XXX: Remove when postgresql default socket directory is
|
||||
;; changed to /var/run/postgresql.
|
||||
(config-file
|
||||
(postgresql-config-file
|
||||
(socket-directory #f)))))
|
||||
(postgresql postgresql)))
|
||||
(service zabbix-front-end-service-type
|
||||
(zabbix-front-end-configuration
|
||||
(db-password "zabbix")))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue