aboutsummaryrefslogtreecommitdiff
path: root/gnu/services
Commit message (Collapse)AuthorAge
* services: nginx: Make service extensible.Julien Lepiller2017-01-03
| | | | | | | | | | | | | * gnu/services/web.scm (<nginx-configuration>)[server-blocks]: New field. (nginx-activation): When CONFIG-FILE is #f, use 'default-nginx-config'. (nginx-shepherd-service): Likewise. (nginx-service-type): Add 'compose' and 'extend' fields. (nginx-service): Change default value of #:server-list to '(), and default value of #:config-file to #f. * doc/guix.texi (Web Services): Document it. Co-authored-by: Ludovic Courtès <ludo@gnu.org>
* services: nginx: Fix multiple index and server name.Julien Lepiller2017-01-03
| | | | | | | * gnu/services/web.scm (config-domain-strings, config-index-string): separate names with a space. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* services: nginx: Rename "vhost" to "server".Julien Lepiller2017-01-03
| | | | | | | | * gnu/services/web.scm (<nginx-vhost-configuration>): Rename to... (<nginx-server-configuration>): ... this. * doc/guix.texi (Web Services): Adjust accordingly. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* services: cuirass: Remove 'cuirass-service' procedure.Ludovic Courtès2017-01-01
| | | | | | | * gnu/services/cuirass.scm (<cuirass-configuration>)[specifications]: Remove default value. (cuirass-service): Remove. * doc/guix.texi (Continuous Integration): Adjust accordingly.
* services: cuirass: Allow for gexps in specifications.Ludovic Courtès2017-01-01
| | | | | | | | | | | * gnu/services/cuirass.scm (<cuirass-configuration>)[specifications]: Change default value to #~'(). (cuirass-shepherd-service): Remove conditional for "--specifications". Use 'scheme-file' instead of 'plain-file'. Change file name to "cuirass-specs.scm". * doc/guix.texi (Continuous Integration): Change the example to use a gexp where #:file refers to a file within Cuirass. Adjust documentation.
* services: Add libmtp's udev rules to '%desktop-services'.Ludovic Courtès2016-12-29
| | | | | | | Suggested by Chris Marusich <cmmarusich@gmail.com>. * gnu/services/desktop.scm (%desktop-services): Add 'mtp' service via call to 'simple-service'.
* gnu: Fix typo in comment.John Darrington2016-12-21
| | | | * gnu/services/sddm.scm: Fix typo.
* services: cuirass: Add Cuirass to the system profile.Ludovic Courtès2016-12-20
| | | | | * gnu/services/cuirass.scm (cuirass-service-type): Extend PROFILE-SERVICE-TYPE.
* services: cuirass: Add 'cuirass' field.Ludovic Courtès2016-12-20
| | | | | | | * gnu/services/cuirass.scm (<cuirass-configuration>)[cuirass]: New field. (cuirass-shepherd-service): Honor it. * doc/guix.texi (Continuous Integration): Document it.
* services: cuirass: Create the database directory.Ludovic Courtès2016-12-20
| | | | | * gnu/services/cuirass.scm (cuirass-activation): Create the database directory for CONFIG.
* services: guix: Add 'log-file' configuration option.Ludovic Courtès2016-12-19
| | | | | | | | | * gnu/services/base.scm (<guix-configuration>)[log-file]: New field. (guix-shepherd-service): Pass #:log-file to 'make-forkexec-constructor'. * gnu/services/admin.scm (simple-rotation-config): Take a list of files and join them with commas. (%default-rotations): Add /var/log/guix-daemon.log. * doc/guix.texi (Base Services): Document it.
* services: guix: Remove dependency on lsh.Ludovic Courtès2016-12-19
| | | | | | * gnu/services/base.scm (<guix-configuration>)[lsh]: Remove. (guix-shepherd-service): Remove lsh from 'PATH'. * doc/guix.texi (Base Services): Adjust accordingly.
* services: cuirass: Cache defaults to /var/cache/cuirass.Ludovic Courtès2016-12-19
| | | | | | | | | | | | | The previous default value depended on the 'HOME' environment variable, which happened to be unset. Thus, /.cache was being used. * gnu/services/cuirass.scm (<cuirass-configuration>)[cache-directory]: Change default value to "/var/cache/cuirass". (cuirass-shepherd-service): Always pass "--cache-directory". (cuirass-activation): New procedure. (cuirass-service-type): Use it as an extension to ACTIVATION-SERVICE-TYPE. * doc/guix.texi (Continuous Integration): Adjust accordingly.
* services: cuirass: Honor 'user' and 'group'.Ludovic Courtès2016-12-19
| | | | | * gnu/services/cuirass.scm (cuirass-shepherd-service): Pass the user and group of CONFIG to 'make-forkexec-constructor'.
* services: cuirass: Add 'log-file' option.Ludovic Courtès2016-12-19
| | | | | | * gnu/services/cuirass.scm (<cuirass-configuration>)[log-file]: New field. (cuirass-shepherd-service): Pass it to 'make-forkexec-constructor'.
* services: Use 'file-append' in more places.Ludovic Courtès2016-12-19
| | | | | | | | | | | | | * gnu/services/avahi.scm (avahi-shepherd-service): Use #$(file-append x y) instead of (string-append #$x y). * gnu/services/base.scm (unicode-start) (console-keymap-service-type, console-font-shepherd-services) (mingetty-shepherd-service, nscd-shepherd-service) (hydra-key-authorization, guix-shepherd-service) (guix-publish-shepherd-service, udev-shepherd-service) (gpm-shepherd-service, <kmscon-configuration>) (kmscon-service-type): Likewise. * gnu/services/shepherd.scm (shepherd-boot-gexp): Likewise.
* services: cuirass: Put specifications in the store.Mathieu Lirzin2016-12-15
| | | | | | | * gnu/services/cuirass.scm (<cuirass-configuration>): Change type of 'specifications' field to an alist to match the documentation example. (cuirass-shepherd-service): Store the provided specifications in a file. Use that file as the "--specification" argument.
* services: postgresql: Add locale to configurationChristopher Baines2016-12-15
| | | | | | | | | * 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>
* services: postgresql: Add port to configurationChristopher Baines2016-12-15
| | | | | | | | | * 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>
* services: mysql: Add port to configurationChristopher Baines2016-12-14
| | | | | | | | | * 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>
* services: file-system: Make sure fsck.* commands are in $PATH.Ludovic Courtès2016-12-05
| | | | | | | | | Fixes a regression introduced in bf7ef1bb848db0977b54ea012789adc68751c68a, whereby the fsck.* commands would not be found. * gnu/services/base.scm (file-system-shepherd-service): Call calls to 'setenv'.
* services: tor: Make sure /var/lib is world-readable.Ludovic Courtès2016-12-04
| | | | | * gnu/services/networking.scm (tor-hidden-service-activation): Add 'chmod' call for /var/lib.
* gnu: Add Kerberos client service.John Darrington2016-12-03
| | | | | | | * doc/guix.texi (Kerberos Services)[Krb5 Service]: New subsubheading. * gnu/services/kerberos.scm (krb5-service-type): New variable. * gnu/services/configuration.scm (configuration-field-serializer, configuration-field-getter): Export variables.
* gnu: file-system-shepherd-service: Use mount-file-system.John Darrington2016-12-02
| | | | | * gnu/services/base.scm (file-system-shepherd-service): Use mount-file-system instead of manually mounting the file system.
* services: cups: Follow symlinks when installing extensions.Andy Patterson2016-12-01
| | | | | * gnu/services/cups.scm (union-directory): Use "stat" when calling "find-files" to follow symlinks.
* services: nginx: Join strings with spaces.Ricardo Wurmus2016-11-30
| | | | | * gnu/services/web.scm (config-domain-strings, config-index-strings): Use "string-join" to join strings with spaces.
* services: Add 'cuirass-service'.Mathieu Lirzin2016-11-29
| | | | | | * gnu/services/cuirass.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. * doc/guix.texi (Continuous integration): New node.
* services: Factorize configuration abstraction.Julien Lepiller2016-11-26
| | | | | | | | | | | | | | | * gnu/services/mail.scm and gnu/services/cups.scm (&configuration-error) (configuration-error, configuration-field-error) (configuration-missing-field, configuration-field, serialize-configuration) (validate-configuration, define-configuration, uglify-field-name) (serialize-field, serialize-package, serialize-string) (serialize-space-separated-string-list, space-separated-string-list?) (serialize-file-name, file-name?, serialize-field-name) (generate-documentation): Move duplicate code... * gnu/services/configuration.scm: ...to this new file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add configuration.scm. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* gnu: Whitespace changesJohn Darrington2016-11-26
| | | | * gnu/services/kerberos.scm: Fold lines to 80 character limit.
* services: Add opensmtpd service.宋文武2016-11-26
| | | | | | | | * gnu/services/mail.scm (<opensmtpd-configuration>): New record type. (%default-opensmtpd-config-file, %opensmtpd-accounts): New variables. (opensmtpd-shepherd-service, opensmtpd-activation): New procedures. (opensmtpd-service-type): New variable. * doc/guix.texi (Mail Services): Document it.
* services: network-manager: Depend on 'wpa-supplicant'.Ludovic Courtès2016-11-24
| | | | | | | Suggested by Chris Marusich <cmmarusich@gmail.com>. * gnu/services/networking.scm (network-manager-shepherd-service) [requirement]: Add 'wpa-supplicant'.
* services: network-manager: Install polkit actions.Ludovic Courtès2016-11-24
| | | | | | | | Reported by Chris Marusich <cmmarusich@gmail.com> at <https://lists.gnu.org/archive/html/help-guix/2016-11/msg00038.html>. * gnu/services/networking.scm (network-manager-service-type)[extensions]: Add POLKIT-SERVICE-TYPE.
* services: Move polkit to (gnu services dbus).Ludovic Courtès2016-11-24
| | | | | | | | * gnu/services/desktop.scm (<polkit-configuration>, %polkit-accounts) (%polkit-pam-services, polkit-directory, polkit-etc-files) (polkit-setuid-programs, polkit-service-type, polkit-service): Move to... * gnu/services/dbus.scm: ... here.
* services: static-networking: Remove unused parameter.Ludovic Courtès2016-11-21
| | | | | | | This is a followup to e48fcd7b8d07f213b23e3b432b0f10db917f69fa. * gnu/services/networking.scm (static-networking-service): Remove #:net-tools. (static-networking-service-type): Remove outdated comment.
* gnu: services: Add git-service.ng02016-11-21
| | | | | | | | * gnu/services/version-control.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. * doc/guix.texi (Misellaneous Services)[Version Control]: New section. Co-authored-by: 宋文武 <iyzsong@member.fsf.org>
* services: static-networking: Avoid use of net-tools.Ludovic Courtès2016-11-21
| | | | | | | * gnu/services/networking.scm (<static-networking>)[net-tools]: Remove. (static-networking-service-type): Use 'add-network-route/gateway' and 'delete-network-route' instead of NET-TOOLS. (static-networking-service): Adjust accordingly.
* services: dicod-service: Honor 'dicod-configuration-dico'.宋文武2016-11-19
| | | | | * gnu/services/dict.scm (dicod-shepherd-service): Use 'dicod-configuration-dico' of config.
* services: static-networking: Add netmask.Ludovic Courtès2016-11-17
| | | | | | | | | | | Reported by Mathieu Lirzin and Andreas Enge. * gnu/services/networking.scm (<static-networking>)[netmask]: New field. (static-networking-service-type): Honor it. * gnu/services/networking.scm (static-networking-service): Add #:netmask and honor it. * doc/guix.texi (Networking Services): Adjust accordingly.
* services: Require wpa-supplicant-service for connman-service.Tomáš Čech2016-11-15
| | | | | * gnu/services/networking.scm (connman-shepherd-service): Add wpa-supplicant among list of requirements.
* services: Add wpa-supplicant-service.Tomáš Čech2016-11-15
| | | | | | * gnu/services/networking.scm (wpa-supplicant-service): New procedure. (wpa-supplicant-service-type): New variable. * doc/guix.texi (Networking Services): Document it.
* Merge branch 'core-updates'Ludovic Courtès2016-11-13
|\
| * Merge branch 'master' into core-updatesLeo Famulari2016-10-26
| |\
| * \ Merge branch 'master' into core-updatesMark H Weaver2016-10-23
| |\ \
| * \ \ Merge branch 'master' into core-updatesMark H Weaver2016-10-17
| |\ \ \
| * \ \ \ Merge branch 'master' into core-updatesMark H Weaver2016-10-13
| |\ \ \ \
| * | | | | gnu: Add CUPS service.Andy Wingo2016-10-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/services/cups.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add gnu/services/cups.scm. * doc/guix.texi (Printing Services): New section.
* | | | | | gnu: Add pam-krb5 service.John Darrington2016-11-08
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | * doc/guix.texi (Kerberos Services): New node. * gnu/services/kerberos.scm: New file. * gnu/local.mk: Add it.
* | | | | services: nginx: Virtual hosts are first-class configuration items.Julien Lepiller2016-10-24
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/services/web.scm (<nginx-vhost-configuration>): New record type. (config-domain-strings): New procedure. (config-index-strings): New procedure. (default-nginx-vhost-config): New procedure. (default-nginx-config): Add vhost support and temporary directories (nginx-activation): Create temporary directories (nginx-service): Add vhost-list key. * doc/guix.texi (Web Services): Document 'nginx-vhost-configuration'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* | | | services: ntpd: Add 'allow-large-adjustment?' knob.Ludovic Courtès2016-10-20
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | Suggested by Leo Famulari. * gnu/services/networking.scm (<ntp-configuration>)[allow-large-adjustment?]: New field. (ntp-shepherd-service): Honor it. (ntp-service): Add #:allow-large-adjustment? and honor it. * doc/guix.texi (Networking Services): Document it.
* | | gnu: services sddm Fix typo.John Darrington2016-10-15
| |/ |/| | | | | * gnu/services/sddm.scm: sddm-confiugration? --> sddm-configuration?