aboutsummaryrefslogtreecommitdiff
path: root/gnu/ci.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/ci.scm')
0 files changed, 0 insertions, 0 deletions
7808fd4fca8f6d8bdc'>services: Remove unnecessary references to (gnu build shepherd).Ludovic Courtès * gnu/services/databases.scm (memcached-shepherd-service): Remove ‘with-imported-modules’ form and ‘modules’ field. * gnu/services/security-token.scm (pcscd-shepherd-service): Remove ‘with-imported-modules’ form. * gnu/services/web.scm (hpcguix-web-shepherd-service): Likewise. Change-Id: Ieb817508f1751e0c1ff551a0e078789a4a813c1c 2023-08-16services: posgresql: Add option to specify UID/GID for postgres user.Martin Baulig Add 'createAccount?', 'uid' and 'gid' to <postgresql-configuation>. Unlike other system daemons, the PostgreSQL data directory is typically meant to persist across 'guix system reconfigure' and once created, you don't want it's UID or GID to change anymore. Furthermore, if you want to place the data directory on a network share and use NFSv4 with idmap, then the 'postgres' user must exist when the 'rpc.idmapd' daemon is launched; prior to mounting the share. And it needs to be possible to mount the share without configuring PostgreSQL. With NFSv3, the UID and GID typically needs to match those on the server. The added options allow for both of these scenarios: You can either create the user in (operating-system (users)) completely independently of the 'postgresql-service-type' (for instance to get your NFS setup working first prior to configuring your databases) - or "pin" it's UID / GID values. * gnu/services/databases.scm (<postgresql-configuration>)[create-account?] [uid, gid]: New fields. (%postgresql-accounts): Remove. (create-postgresql-account): New procedure. (postgresql-service-type)[extensions]: Use it. * doc/guix.texi (Database Services): Update accordingly. Signed-off-by: Ludovic Courtès <ludo@gnu.org> 2023-08-11services: postgresql: Add more role fields.Miguel Moreno * gnu/services/databases.scm (postgresql-role): Add more role fields. (postgresql-create-roles): Honor it. * doc/guix.texi (Database Services): Document it. Signed-off-by: Ludovic Courtès <ludo@gnu.org> 2023-04-21services: postgresql: Add default package.Ludovic Courtès * gnu/services/databases.scm (<postgresql-configuration>)[postgresql]: Add default value, moved from... (postgresql-service-type)[default-value]: ... here. 2023-04-21services: redis: Add 'configuration' action.Ludovic Courtès * gnu/services/databases.scm (redis-shepherd-service): Add 'actions' field. 2023-04-21services: mysql: Add 'configuration' action.Ludovic Courtès * gnu/services/databases.scm (mysql-shepherd-service): Add 'actions' field. 2023-04-21services: postgresql: Add 'configuration' action.Ludovic Courtès * gnu/services/databases.scm (postgresql-shepherd-service): Add 'actions' field. 2023-04-21services: postgresql: Add the 'postgresql' Shepherd service name.Ludovic Courtès * gnu/services/databases.scm (postgresql-shepherd-service): Add 'postgresql' to 'provision'.