summaryrefslogtreecommitdiff
path: root/gnu/services
Commit message (Expand)AuthorAgeFilesLines
* services: cuirass: Add Zabbix support.•••* gnu/services/cuirass.scm (<cuirass-configuration>)[zabbix-uri]: New field. (cuirass-shepherd-service): Honor it. Mathieu Othacehe2021-02-081-0/+8
* gnu: Remove 'file-systems requirement from kernel-module-loader.•••* gnu/services/linux.scm (kernel-module-loader-shepherd-service): Remove 'file-systems requirement. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org> raid5atemyhomework2021-02-081-1/+2
* services: PostgreSQL: Quote database names.•••* gnu/services/databases.scm (postgresql-create-roles): Quote the name in the SQL query so that roles/usernames containing hyphens will work. Marius Bakke2021-02-061-3/+3
* gnu: services: Fix the NFS service.•••* gnu/services/nfs.scm (rpcbind-service-type): Adjust for the file name change of the rpcbind command. Maxim Cournoyer2021-02-051-2/+2
* services: shepherd: Allow custom 'shepherd' package.•••* gnu/services/shepherd.scm (<shepherd-configuration>): New record. (shepherd-boot-gexp, shepherd-root-service-type): Use it. (scm->go, shepherd-configuration-file): Allow passing custom shepherd package. * gnu/system.scm (operating-system-shepherd-service-names): Use the new record. * guix/scripts/system.scm (export-shepherd-graph): Adjust accordingly. * doc/guix.texi (Shepherd Services). Document it. Co-authored-by: Ludovic Courtès <ludo@gnu.org> Maxime Devos2021-01-301-13/+40
* services: cuirass: Create remote-server cache directory.•••* gnu/services/cuirass.scm (cuirass-activation): Create remote-server cache directory if needed. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Mathieu Othacehe2021-01-281-6/+17
* services: cuirass: Fix syntax error.•••This is a follow-up of 189e62fa69049538884077155cc70cac43260118. * gnu/services/cuirass.scm (<cuirass-remote-server-configuration>): Fix syntax. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Mathieu Othacehe2021-01-281-1/+2
* services: cuirass: Add log-file support.•••* gnu/services/cuirass.scm (cuirass-remote-worker-shepherd-service): Add log-file support. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Mathieu Othacehe2021-01-281-2/+3
* services: cuirass: Fix workers argument.•••* gnu/services/cuirass.scm (cuirass-remote-worker-shepherd-service): Fix workers arguments. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Mathieu Othacehe2021-01-281-1/+2
* services: cuirass: Add systems argument.•••* gnu/services/cuirass.scm (<cuirass-remote-worker-configuration>)[systems]: New field. (cuirass-remote-worker-shepherd-service): Honor it. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Mathieu Othacehe2021-01-281-1/+8
* services: cuirass: Add remote build support.Mathieu Othacehe2021-01-281-54/+180
* service: cuirass: Update it.Mathieu Othacehe2021-01-281-55/+19
* services: postgresql: Add postgresql-role-service-type.•••* gnu/services/databases.scm (postgresql-role, postgresql-role?, postgresql-role-name, postgresql-role-permissions, postgresql-role-create-database?, postgresql-role-configuration, postgresql-role-configuration?, postgresql-role-configuration-host, postgresql-role-configuration-roles, postgresql-role-service-type): New procedures. * gnu/tests/databases.scm: Test it. * doc/guix.texi: Document it. Mathieu Othacehe2021-01-281-0/+102
* services: postgresql: Wrap long lines.•••* gnu/services/databases.scm: Wrap long lines, no functional change. Mathieu Othacehe2021-01-281-13/+19
* services: postgresql: Add log directory support.•••* gnu/services/databases.scm (postgresql-configuration-log-directory): New procedure. (<postgresql-configuration>)[log-directory]: New field. (postgresql-activation): Create the log directory. (postgresql-shepherd-service): Honor it. * gnu/tests/databases.scm (%postgresql-log-directory): New variable. (log-file): New test case. * doc/guix.texi (Database Services): Document it. Mathieu Othacehe2021-01-281-8/+28
* services: postgresql: Add socket directory support.•••* gnu/services/databases.scm (postgresql-config-file-socket-directory): New procedure. (<postgresql-config-file>)[socket-directory]: New field. (postgresql-config-file-compiler): Honor it. (postgresql-activation): Create the socket directory if needed. * doc/guix.texi (Database Services): Document it. * gnu/tests/guix.scm (%guix-data-service-os): Adapt it. * gnu/tests/monitoring.scm (%zabbix-os): Ditto. * gnu/tests/web.scm (patchwork-os): Ditto. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org> Mathieu Othacehe2021-01-281-9/+23
* services: postgresql: Use Guile datatypes.•••* gnu/services/databases.scm (postgresql-config-file-compiler): Support Guile datatypes in the "extra-config" field. * gnu/tests/databases.scm (%postgresql-os): Test it. * doc/guix.texi (Database Services): Document it. Mathieu Othacehe2021-01-281-16/+22
* gnu: php-fpm: Ensure no duplicate group.•••* gnu/services/web.scm (php-fpm-accounts): Ensure `php-fpm` group is not duplicated. Signed-off-by: Leo Prikler <leo.prikler@student.tugraz.at> Julien Lepiller2021-01-171-13/+14
* services: cups: reuse lp from %base-groups.•••* gnu/services/cups.scm (%cups-accounts): Try to reuse lp from %base-groups. Leo Prikler2021-01-171-2/+8
* services: openntpd: Remove support for deprecated "-s" option.•••* gnu/services/networking.scm (openntpd-configuration): Remove "allow-large-adjustment?" field. (openntpd-shepherd-service): Remove use of "allow-large-adjustment?" configuration field and "-s" daemon option. * tests/networking.scm (%openntpd-conf-sample): Remove "allow-large-adjustment?" field. * doc/guix.texi (Networking Services)[openntpd-service-type]: Remove "allow-large-adjustment?" field from sample configuration. [openntpd-configuration]: Remove description of "allow-large-adjustment?" field. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Simon South2021-01-161-9/+3
* services: qemu-binfmt: 'guix-support?' defaults to #t.•••* gnu/services/virtualization.scm (qemu-binfmt-service-type)[guix-support?]: Change the default from #f to #t. * doc/guix.texi (Transparent Emulation with QEMU): Change the default of ‘guix-support?’ from #f to #t. Describe the implication of setting it to #f. Co-authored-by: Ludovic Courtès <ludo@gnu.org> Stefan2021-01-161-1/+1
* services: hurd-vm: Respect hurd-vm-configuration's disk-size.•••This is a follow-up to commit 859b362f81598830d7ff276b96a8724aee3c4db7. * gnu/services/virtualization.scm (hurd-vm-disk-image): Use diks-size from config to set image's size. Jan (janneke) Nieuwenhuizen2021-01-141-2/+4
* services: shepherd: 'shepherd-service-type' requires documentation.•••* gnu/services/shepherd.scm (shepherd-service-type): Require a 'description' form. * gnu/services/base.scm (root-file-system-service-type) (rngd-service-type, host-name-service-type): (virtual-terminal-service-type, console-keymap-service-type) (syslog-service-type, swap-service-type) (kmscon-service-type): Add description. * gnu/services/networking.scm (dhcp-client-service-type): Likewise. * gnu/system/install.scm (cow-store-service-type): Likewise. * gnu/system/linux-container.scm (dummy-networking-service-type): Likewise. * gnu/system/mapped-devices.scm (device-mapping-service-type): Likewise. * tests/guix-system.sh: Likewise. Ludovic Courtès2021-01-133-17/+35
* services: Add keepalived service.•••* gnu/services/networking.scm (<keepalived-configuration>): New record. (keepalived-shepherd-service): New procedure. (keepalived-service-type): New variable. * doc/guix.texi (Networking Services): Document this. Oleg Pykhalov2021-01-121-1/+46
* services: Add syncthing service.•••* gnu/services/syncthing.scm: New file. * gnu/local.mk: Add this. * doc/guix.texi: Document this. Oleg Pykhalov2021-01-121-0/+89
* services: cups: Add brlaser extension by default.•••* gnu/services/cups.scm (cups-configuration): Add brlaser to the default extensions. * doc/guix.texi (Printing Services): Document it. Tobias Geerinckx-Rice2021-01-101-1/+1
* services: kernel-module-loader: Return a single 'shepherd-service'.•••* gnu/services/linux.scm (kernel-module-loader-shepherd-service): Return a 'shepherd-service' instead of a list of it. (kernel-module-loader-service-type): Adjust it. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org> Brice Waegeneire2021-01-061-30/+29
* services: Add radicale-service-type.•••* gnu/services/mail.scm (radicale-configuration) (radicale-configuration?): New procedures. (%default-radicale-config-file) (radicale-service-type): New variables. * doc/guix.texi: Document it. Jonathan Brielmaier2020-12-271-1/+80
* services: 'references-file' depends on Guile-Gcrypt.•••Regression introduced in 6a060ff27ff68384d7c90076baa36c349fff689d. Reported by clone11 on #guix. * gnu/services/base.scm (references-file): Wrap gexp in 'with-extensions'. Ludovic Courtès2020-12-151-11/+12
* gnu: htop: Update to 3.0.3.•••* gnu/packages/admin.scm (htop): Update to 3.0.3. Tobias Geerinckx-Rice2020-12-131-0/+1
* services: pcscd-shepherd-service: Fix PID file location.•••Fixes <http://issues.guix.gnu.org/45202>. * gnu/services/security-token.scm (pcscd-shepherd-service): Look for pcscd.pid in /run instead of /var/run. Reported by Raffael Stocker <r.stocker@mnet-mail.de>. Tobias Geerinckx-Rice2020-12-121-1/+1
* Revert "services: openssh: Warn about 'password-authentication?' default."•••This reverts commit aecd2a13cbd8301d0fdeafcacbf69e12cc3f6138 for two reasons: 1. The warning would fire every time (gnu services ssh) is loaded; 2. There's still no clear consensus on the approach to follow as discussed in <https://issues.guix.gnu.org/44808>. Ludovic Courtès2020-12-111-16/+2
* services: guix-publish: Depend on 'avahi-daemon' when needed.•••* gnu/services/base.scm (guix-publish-shepherd-service): Add 'user-processes' to 'requirement'. When ADVERTISE? is true, also add 'avahi-daemon'. Ludovic Courtès2020-12-091-1/+3
* services: avahi: Depend on 'user-processes'.•••* gnu/services/avahi.scm (avahi-shepherd-service): Add 'user-processes' to 'requirement'. Ludovic Courtès2020-12-091-2/+2
* services: science.scm: Add missing copyright headers.•••This module was always supposed to have the GPL3 header in place. Follow-up to 8f19e63f760fe02f9969225da2f3f3c36801218f. * gnu/services/science.scm: Add Copyright headers. Efraim Flashner2020-12-091-0/+18
* services: cuirass: Add queue-size option.•••* gnu/services/cuirass.scm (<cuirass-configuration>): Add "queue-size" field. (cuirass-shepherd-service): Honor it. * doc/guix.texi (Continuous Integration): Document it. Mathieu Othacehe2020-12-081-0/+4
* services: openssh: Warn about 'password-authentication?' default.•••Fixes <https://bugs.gnu.org/44808>. Reported by Christopher Lemmer Webber <cwebber@dustycloud.org>. * gnu/services/ssh.scm (true-but-soon-false): New procedure. (<openssh-configuration>)[password-authentication?]: Change default to 'true-but-soon-false'. * gnu/installer/services.scm (%system-services): Explicitly set 'password-authentication?' to #f. Ludovic Courtès2020-12-071-2/+16
* services: hurd-vm: Avoid circular dependency with (gnu system images hurd).•••* gnu/services/virtualization.scm (hurd-vm-disk-image): Use 'lookup-image-type-by-name' instead of referring to 'hurd-disk-image' from (gnu system images hurd). Ludovic Courtès2020-12-071-9/+6
* service: Add shepherd discover action.•••* gnu/services/base.scm (shepherd-discover-action): New procedure, (guix-shepherd-service)[<actions>]: add it, [<start>]: honor it. * doc/guix.texi (Invoking guix-daemon): Document it. Mathieu Othacehe2020-12-071-4/+28
* prometheus-node-exporter: Support extra options.•••There are plenty of options supported that the Guix configuration record doesn't help you with, so add this field to allow users to do their own thing. * gnu/services/monitoring.scm (<prometheus-node-exporter-configuration>): Add extra-options field. (prometheus-node-exporter-shepherd-service): Handle the extra options. * doc/guix.texi (Prometheus Node Exporter Service): Document this. Christopher Baines2020-12-071-3/+6
* prometheus-node-exporter: Enable the textfile collector.•••* gnu/services/monitoring.scm (<prometheus-node-exporter-configuration>): Add textfile-directory. (prometheus-node-exporter-textfile-directory, prometheus-node-exporter-activation): New procedures. (prometheus-node-exporter-shepherd-service): Pass --collector.textfile.directoryto the service. (prometheus-node-exporter-service-type): Extend the activation service type. * doc/guix.texi (Prometheus Node Exporter Service): Document. Christopher Baines2020-12-071-3/+24
* services: prometheus-node-exporter: Use a log file.•••This makes the logs easier to find and read. * gnu/services/monitoring.scm (prometheus-node-exporter-shepherd-service): Pass #:log-file to make-forkexec-constructor. Christopher Baines2020-12-071-1/+2
* prometheus-node-exporter: Add user and group.•••So it doesn't run as root, and because this will help with the textfile exporter. * gnu/services/monitoring.scm (%prometheus-node-exporter-accounts): New variable. (prometheus-node-exporter-shepherd-service): Use the relevant user and group. (prometheus-node-exporter-service-type): Extend the account service type. Christopher Baines2020-12-071-11/+28
* services: prometheus-node-exporter: Neaten up.•••Add relevant exports, as well as a comment to better indicate where the relevant code starts. * gnu/services/monitoring.scm (prometheus-node-exporter-service-type): Capitalise Prometheus. Christopher Baines2020-12-071-2/+11
* services: mpd: Make /var/run/mpd/USER user-owned.•••Fixes <https://bugs.gnu.org/44820>. Reported by Simon <lists@netpanic.org>. This is a followup to bb124f6e9c0af0a23736f233c2ea2c9c9b4a40a6. * gnu/services/audio.scm (mpd-service-activation): Chown the parent of DIRECTORY as well. Ludovic Courtès2020-12-061-1/+5
* services: nix: Move nix.conf generation to etc-service-type.•••/etc/nix/nix.conf is a static file doesn't need rebuild on every boot. * gnu/services/nix.scm (nix-activation): Don't create /etc/nix/nix.conf. (nix-service-etc): New function. (nix-service-type): New service-extension "nix-service-etc" to etc-service-type. Signed-off-by: 宋文武 <iyzsong@member.fsf.org> Zhu Zihao2020-12-061-28/+33
* services: MySQL: Fix indentation.•••* gnu/services/databases.scm (mysql-upgrade-wrapper): Adjust indentation. Marius Bakke2020-12-011-8/+8
* services: databases: Do not export record type descriptors.•••* gnu/services/databases.scm (<postgresql-config-file>, <postgresql-configuration>, <memcached-configuration>, <mongodb-configuration>): Remove exports. Marius Bakke2020-12-011-5/+1
* Use substitute servers on the local network.•••* guix/scripts/discover.scm: New file. * Makefile.am (MODULES): Add it. * nix/nix-daemon/guix-daemon.cc (options): Add "discover" option, (parse-opt): parse it, (main): start "guix discover" process when the option is set. * guix/scripts/substitute.scm (%local-substitute-urls): New variable, (substitute-urls): add it. * gnu/services/base.scm (<guix-configuration>): Add "discover?" field, (guix-shepherd-service): honor it. * doc/guix.texi (Invoking guix-daemon): Document "discover" option, (Base Services): ditto. Mathieu Othacehe2020-11-291-2/+7
* publish: Add advertising support.•••* guix/scripts/publish.scm (%options): Add "--advertise" option. (show-help): Document it. (service-name): New procedure, (publish-service-type): new variable. (run-publish-server): Add "advertise?" and "port" parameters. Use them to publish the server using Avahi. (guix-publish): Pass the "advertise?" option to "run-publish-server". * gnu/services/base.scm (<guix-publish-configuration>): Add "advertise?" field. (guix-publish-shepherd-service): Honor it. Mathieu Othacehe2020-11-291-1/+7