Age | Commit message (Expand) | Author |
2020-08-01 | services: postgresql: Provide postgresql commands....* gnu/services/databases.scm (postgresql-service-type): Extend
profile-service-type to provide postgresql commands.
| Pierre Neidhardt |
2020-01-17 | gnu: services: Allow extra content in mysql configuration....* gnu/services/databases.scm (<mysql-configuration>): New field.
(mysql-configuration-file): Use it.
| Alex Sassmannshausen |
2020-01-14 | gnu: services: Fix mysql service activation....This change is necessary after the split of mariadb outputs.
* gnu/services/databases.scm (%mysql-activation): Use mysql:lib in
mariadb-specific part.
| Julien Lepiller |
2019-07-02 | gnu: postgres service: More secure default permissions....This changes to 'peer' authentication for local socket connections,
and password-based authentication for local network connections.
* gnu/services/databases.scm (%default-postgres-hba): Change
authentication method.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| Robert Vollmert |
2018-10-04 | gnu: postgresql: Add extension-packages....* gnu/services/databases.scm (postgresql-configuration): Add
extension-packages.
(postgresql-shepherd-service): New key #:extension-packages.
* doc/guix.texi (Database Services): Document it.
| Julien Lepiller |
2018-08-13 | services: postgresql: Get the Shepherd to respawn PostgreSQL....* gnu/services/databases.scm (postgresql-shepherd-service): Change 'start' to
return the PID.
| Clément Lassieur |
2018-03-17 | services: databases: Change quote' to single-quote....In the postgresql-config-file gexp compiler.
* gnu/services/databases.scm (postgresql-config-file-compiler): Change quote'
to single-quote.
| Christopher Baines |
2018-03-10 | services: databases: Add postgresql-configuration record exports....* gnu/services/databases.scm: Export the record type, and all the field
accessors.
| Christopher Baines |
2018-03-10 | services: Rework the PostgreSQL config file to use a record type....For the default config file representation. This makes it possible to more
easily change the configuration file, and have dynamic content.
* gnu/services/databases.scm (<postgresql-config-file>): New record type.
(%default-postgres-config): Remove this, it's been replaced by the
configuration file.
(<postgresql-configuration>): Alter the default for the config file field.
(postgresql-service): Alter the default value for the config-file parameter.
| Christopher Baines |
2018-03-03 | services: redis: Add a default-value to the redis-service-type....* gnu/packages/databases.scm (redis-service-type)[default-value]: Set
to (redis-configuration).
| Christopher Baines |
2018-03-03 | services: mysql: Add a default-value to the mysql-service-type....* gnu/services/databases.scm (mysql-service-type)[default-value]: Set
to (mysql-configuration).
| Christopher Baines |
2018-03-03 | services: postgresql: Add a default-value to the postgresql-service-type....* gnu/packages/databases.scm (<postgresql-configuration>)
[config-file,data-directory]: Add default.
(postgresql-service-type)[default-value]:
Set to (postgresql-configuration).
| Christopher Baines |
2018-01-25 | services: postgresql: Use pg_ctl to start and stop postgres....Fixes <https://bugs.gnu.org/29992>.
* gnu/services/databases.scm (postgresql-shepherd-service): Replace
make-forkexec-constructor and make-kill-destructor with pg_ctl.
| Clément Lassieur |
2017-10-06 | services: Add MongoDB....* gnu/services/databases.scm (%default-mongodb-configuration-file,
%mongodb-accounts, mongodb-service-type): New variables.
(<mongodb-configuration>): New record type.
(mongodb-activation, mongodb-shepherd-service): New procedures.
* gnu/tests/databases.scm (%test-mongodb): New variable.
* doc/guix.texi (Database Services): Add MongoDB documentation.
| Christopher Baines |
2017-08-15 | gnu: Fix memcached service startup....Memcached changes to the memcached user from root before writing the PID
file. This means that it must be able to write the PID file as the memcached
user.
To make this work, create the /var/run/memcached directory when the service
starts, make it owned by memcached, and change memcached to write the PID file
to /var/run/memcached/pid.
This wasn't picked up by the system test as the "service running" part was too
permissive, and only failed on an error. Instead, test the response from
calling start-service and check that the PID is a number.
* gnu/services/databases.scm (memcached-activation): New variable.
(memcached-shepherd-service): Change PID file location.
(memcached-service-type): Extend the activation-service-type.
* gnu/tests/databases.scm (run-memcached-test)[test]: Change the "service
running" test to check the response from the shepherd.
| Christopher Baines |
2017-07-30 | services: Add memcached....* gnu/services/databases.scm (memcached-service-type, %memcached-accounts):
New variables.
(<memcached-configuration>): New record type.
(memcached-service-type): New procedures.
* gnu/tests/databases.scm: New file.
* doc/guix.texi (Database Services): Document the new memcached service.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add entry for tests/databases.scm.
| Christopher Baines |
2017-01-12 | services: Add 'redis-service-type'....* gnu/services/database.scm (<redis-configuration>): New record type.
(%redis-accounts, redis-service-type): New variables.
(default-redis.conf, redis-activation, redis-shepherd-service): New
procedures.
* doc/guix.texi (Database Services): Document the new redis service.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| Christopher Baines |
2016-12-15 | services: postgresql: Add locale to configuration...* gnu/services/databases.scm (<postgresql-configuration>): Add locale
field.
(postgresql-shepherd-service): Pass locale to initdb.
(postgresql-service): Add locale default.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| Christopher Baines |
2016-12-15 | services: postgresql: Add port to configuration...* gnu/services/databases.scm (<postgresql-configuration>): Add port
field.
(postgresql-shepherd-service): Pass port to postgres.
(postgresql-service): Add port default.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| Christopher Baines |
2016-12-14 | services: mysql: Add port to configuration...* gnu/services/databases.scm (<mysql-configuration>): Add port field.
(mysql-configuration-file): Use the port field when creating the
configuration file.
* doc/guix.texi (Database Services): Document it.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
| Christopher Baines |
2016-09-10 | system: Use 'file-append' to denote file names....* gnu/services/avahi.scm, gnu/services/base.scm,
gnu/services/databases.scm, gnu/services/dbus.scm,
gnu/services/desktop.scm, gnu/services/dict.scm,
gnu/services/mail.scm, gnu/services/networking.scm,
gnu/services/sddm.scm, gnu/services/spice.scm,
gnu/services/ssh.scm, gnu/services/web.scm,
gnu/services/xorg.scm, gnu/system.scm: Replace the
#~(string-append #$pkg "/bin/foo") idiom with
(file-append pkg "/bin/foo").
| Ludovic Courtès |