services: postgresql: Use "/tmp" host directory.
authorMathieu Othacehe <othacehe@gnu.org>
Tue, 13 Apr 2021 17:30:02 +0000 (19:30 +0200)
committerMathieu Othacehe <othacehe@gnu.org>
Tue, 13 Apr 2021 17:31:20 +0000 (19:31 +0200)
This is a follow-up of c311147bd16aa0e5746d9cbf31502f5fd61e470c.

* gnu/services/databases.scm (<postgresql-role-configuration>)[host]: Set to
"/tmp" which the default Postgresql socket directory.

gnu/services/databases.scm

index 956993d..eba88cd 100644 (file)
@@ -364,7 +364,7 @@ and stores the database cluster in @var{data-directory}."
   postgresql-role-configuration make-postgresql-role-configuration
   postgresql-role-configuration?
   (host             postgresql-role-configuration-host ;string
-                    (default "/var/run/postgresql"))
+                    (default "/tmp"))
   (log              postgresql-role-configuration-log ;string
                     (default "/var/log/postgresql_roles.log"))
   (roles            postgresql-role-configuration-roles