summaryrefslogtreecommitdiff
path: root/gnu/services
AgeCommit message (Expand)Author
2017-08-13gnu: Add mpd service....* doc/guix.texi: Add documentation. * gnu/services/audio.scm (<mpd-configuration>): New record type. (mpd-service-type): New service type. * gnu/tests/audio.scm: New file. * gnu/local.mk: Add new files. Signed-off-by: Christopher Baines <mail@cbaines.net> Peter Mikkelsen
2017-08-09services: admin: Simplify the handling of the Tailon debug? option....* gnu/services/admin.scm (tailon-configuration-file-compiler): Simplify the handling of debug?. Christopher Baines
2017-08-09services: Update the Tailon service for Tailon 1.3.0....Tailon 1.3.0 (upgraded from 1.1.1) adds support for HTTP authentication. * gnu/services/admin.scm (<tailon-configuration-file>): Add http-auth and users configuration values. (tailon-configuration-file-http-auth, tailon-configuration-file-users): New procedures. (tailon-configuration-file-compiler): Add support for the http-auth and users configuration options. * doc/guix.texi (Monitoring Services): Document authentication for Tailon. Christopher Baines
2017-08-09services: Add missing wrap-lines option to tailon....* gnu/services/admin.scm (<tailon-configuration-file>): Add wrap-lines. (tailon-configuration-wrap-lines): New procedure. (tailon-configuration-file-compiler): Add support for wrap-lines. * doc/guix.texi (Monitoring Services): Document the wrap-lines Tailon configuration option. Christopher Baines
2017-08-08services: herd: Add a stop-service procedure....* gnu/services/herd.scm (stop-service): New procedure. Christopher Baines
2017-08-08services: herd: Fix matching ok responses from shepherd service....Previously the match expression case for a successful response (where error is #f) required that the result component contained a list with a single element. As far as I see when looking at the responses from the shepherd, this is not normally the case. Therefore, to avoid treating successful responses as errors, make the match requirement more permissive, accepting any value. * gnu/services/herd.scm (invoke-action): Change match condition for ok responses. Christopher Baines
2017-07-30services: ntp: Use the NTP pool via the 'guix' zone....* gnu/services/networking.scm (%ntp-servers): Use *.guix.pool.ntp.org. Leo Famulari
2017-07-30services: openssh: Extensions provide extra authorized keys....* gnu/services/ssh.scm (extend-openssh-authorized-keys): New procedure. (openssh-service-type)[compose, extend]: New fields. * doc/guix.texi (Networking Services): Document the extension. Ludovic Courtès
2017-07-30services: openssh: Add 'authorized-keys' field....* gnu/services/ssh.scm (<openssh-configuration>)[authorized-keys]: New field. (authorized-key-directory): New procedure. (openssh-config-file): Honor 'authorized-keys'. (openssh-activation): Use 'with-imported-modules'. Make /etc/ssh 755. Create /etc/ssh/authorized_keys.d. * doc/guix.texi (Networking Services): Document it. Ludovic Courtès
2017-07-30services: cuirass: Set 'GIT_SSL_CAINFO' and 'GIT_EXEC_PATH'....Reported by Ricardo Wurmus. * gnu/services/cuirass.scm (cuirass-shepherd-service): Pass #:environment-variables. Ludovic Courtès
2017-07-30services: 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-07-29gnu: services: admin: Add tailon....* gnu/services/admin.scm (<tailon-configuration>, <tailon-configuration-file>): New record types. (tailon-configuration-files-string, tailon-shepherd-service): New procedures. (%tailon-accounts, tailon-service-type: New variables. * doc/guix.texi (Monitoring Services: Document the Tailon service. * gnu/local.mk (GNU_SYSTEM_MODULES): Add gnu/tests/admin.scm. * gnu/tests/admin.scm: New file. Christopher Baines
2017-07-27services: guix-publish: Run in a UTF-8 locale....Works around <https://bugs.gnu.org/26948>. * gnu/services/base.scm (guix-publish-shepherd-service): Pass #:environment-variables to 'make-forkexec-constructor'. Ludovic Courtès
2017-07-26gnu: Add fcgiwrap service....* doc/guix.texi (Web Services): Add documentation. * gnu/services/web.scm (<fcgiwrap-configuration>): New record type. (fcgiwrap-accounts, fcgiwrap-shepherd-service): New service extensions. (fcgiwrap-service-type): New service type. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Andy Wingo
2017-07-21services: cuirass: Add fallback parameter....* gnu/services/cuirass.scm (<cuirass-configuration>)[fallback?]: New field. (cuirass-shepherd-service): Take it into account. * doc/guix.texi (Continuous Integration): Document it. Mathieu Othacehe
2017-07-18services: sysctl: Fix typo....* gnu/services/sysctl.scm: Fix typo of 'make-sysctl-configuration'. 宋文武
2017-07-11services: elogind: Start from the Shepherd....Fixes <http://bugs.gnu.org/27580>. Reported by William <w@vieta.uk>. * gnu/services/desktop.scm (elogind-shepherd-service): New procedure. (elogind-service-type): Extend SHEPHERD-ROOT-SERVICE-TYPE. Ludovic Courtès
2017-07-11services: dbus, polkit: Add default value....* gnu/services/dbus.scm (dbus-root-service-type)[default-value]: New field. (polkit-service-type)[default-value]: New field. Ludovic Courtès
2017-07-04services: Add 'sysctl-service-type'....* gnu/services/sysctl.scm: New file. * doc/guix.texi (Miscellaneous Services): Document it. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. 宋文武
2017-06-21gnu: services: use seconds instead of duration strings....* gnu/services/dns.scm (zone-file, knot-policy-configuration): Use numbers instead of duration strings. (verify-knot-policy-configuration): Fix typo. * doc/guix.texi (DNS Services): Update documentation. Julien Lepiller
2017-06-21services: network-manager: Specify a default value....* gnu/services/networking.scm (network-manager-service-type)[default-value]: New field. Ludovic Courtès
2017-06-12services: cuirass: Extend rottlog with log rotations....* gnu/services/cuirass.scm (cuirass-log-rotations): New procedure. (cuirass-service-type): Use it to extend ROTTLOG-SERVICE-TYPE. Ludovic Courtès
2017-06-12services: rottlog: Make extensible....* gnu/services/admin.scm (rottlog-service-type)[compose, extend]: New fields. * doc/guix.texi (Log Rotation): Mention extension. Ludovic Courtès
2017-06-12services: rottlog: Define <log-rotation> objects....* gnu/services/admin.scm (<log-rotation>): New record type. (syslog-rotation-config, simple-rotation-config): Remove. (%default-rotations): Define as a list of <log-rotation> objects. (log-rotation->config, log-rotations->/etc-entries): New procedures. (<rottlog-configuration>)[periodic-rotations]: Remove. [rotations]: New field. (rottlog-etc): Use 'log-rotations->/etc-entries'. * doc/guix.texi (Log Rotation): Update accordingly. Ludovic Courtès
2017-06-05services: guix: Add 'max-silent-time' and 'timeout'....* gnu/services/base.scm (<guix-configuration>)[max-silent-time] [timeout]: New fields. (guix-shepherd-service): Honor them. * doc/guix.texi (Base Services): Document them. Ludovic Courtès
2017-05-27gnu: Add knot-service-type....* gnu/services/dns.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. * doc/guix.texi (DNS Services): New subsubsection. Julien Lepiller
2017-05-18services: openssh: Don't depend on networking....* gnu/services/ssh.scm (openssh-shepherd-service): Drop requirement. Marius Bakke
2017-05-15services: guix: Authorize the key for bayfront.guixsd.org....* gnu/services/base.scm (%default-authorized-guix-keys): Add "bayfront.guixsd.org". Ludovic Courtès
2017-05-14services: Add 'thermald-service-type'....* gnu/services/pm.scm (<thermald-configuration>): New record type. (thermald-shepherd-service, thermald-service-type): New variables. * doc/guix.texi (Thermal Management): New section documenting thermald. Christopher Allan Webber
2017-05-08services: nscd: Adjust activation snippet for /etc/resolv.conf symlinks....Fixes <http://bugs.gnu.org/26809>. Reported by Mark H Weaver <mhw@netris.org>. * gnu/services/base.scm (nscd-activation): Use 'lstat' instead of 'file-exists?'. Ludovic Courtès
2017-05-03ui: Rename '_' to 'G_'....This avoids collisions with '_' when the latter is used as a 'match' pattern for instance. See <https://lists.gnu.org/archive/html/guix-devel/2017-04/msg00464.html>. * guix/ui.scm: Rename '_' to 'G_'. * po/guix/Makevars (XGETTEXT_OPTIONS): Adjust accordingly. * build-aux/compile-all.scm (warnings): Remove 'format'. * gnu/packages.scm, gnu/services.scm, gnu/services/shepherd.scm, gnu/system.scm, gnu/system/shadow.scm, guix/gnupg.scm, guix/http-client.scm, guix/import/cpan.scm, guix/import/elpa.scm, guix/import/pypi.scm, guix/nar.scm, guix/scripts.scm, guix/scripts/archive.scm, guix/scripts/authenticate.scm, guix/scripts/build.scm, guix/scripts/challenge.scm, guix/scripts/container.scm, guix/scripts/container/exec.scm, guix/scripts/copy.scm, guix/scripts/download.scm, guix/scripts/edit.scm, guix/scripts/environment.scm, guix/scripts/gc.scm, guix/scripts/graph.scm, guix/scripts/hash.scm, guix/scripts/import.scm, guix/scripts/import/cpan.scm, guix/scripts/import/cran.scm, guix/scripts/import/crate.scm, guix/scripts/import/elpa.scm, guix/scripts/import/gem.scm, guix/scripts/import/gnu.scm, guix/scripts/import/hackage.scm, guix/scripts/import/nix.scm, guix/scripts/import/pypi.scm, guix/scripts/import/stackage.scm, guix/scripts/lint.scm, guix/scripts/offload.scm, guix/scripts/pack.scm, guix/scripts/package.scm, guix/scripts/perform-download.scm, guix/scripts/publish.scm, guix/scripts/pull.scm, guix/scripts/refresh.scm, guix/scripts/size.scm, guix/scripts/substitute.scm, guix/scripts/system.scm, guix/ssh.scm, guix/upstream.scm: Use 'G_' instead of '_'. Most of this change was obtained by running: "sed -i -e's/(_ "/(G_ "/g' `find -name \*.scm`". Ludovic Courtès
2017-05-03services: herd: Make %shepherd-socket-file a parameter and export it....* gnu/services/herd.scm (%shepherd-socket-file): Make it an exported parameter. (open-connection): Adapt. Mathieu Othacehe
2017-05-02services: nscd: Create /etc/resolv.conf if it does not exist....* gnu/services/base.scm (nscd-activation): Create /etc/resolv.conf if it does not exist yet. Ludovic Courtès
2017-05-01gnu: services: nginx: Fix key verification....* gnu/services/web.scm (default-nginx-server-config): Fix wrong variable name. Julien Lepiller
2017-05-01gnu: services: Create logs directory....* gnu/services/web.scm (nginx-activation): Create logs directory so nginx can log its startup messages before it loads its configuration. Julien Lepiller
2017-05-01gnu: services: nginx: Test certificate presence....* gnu/services/web.scm (default-nginx-server-config): Test certificate presence when https is requested at configure time. Julien Lepiller
2017-04-19services: Make exim-service-type use mail-aliases-service-type...* gnu/services/mail.scm (exim-configuration)[aliases]: Remove field. (exim-activation, exim-shepherd-service): Remove alias from matches. (exim-etc): Remove procedure. (exim-service-type): Extend mail-aliases-service-type instead of etc-service-type. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Carlo Zancanaro
2017-04-19services: Add mail-aliases-service-type....* gnu/services/mail.scm (mail-aliases-etc): New procedure. (mail-aliases-service-type): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Carlo Zancanaro
2017-04-19services: guix-publish: Add 'cache', 'workers', and 'ttl' config knobs....* gnu/services/base.scm (<guix-publish-configuration>)[cache, workers, ttl]: New fields. (guix-publish-shepherd-service): Honor them. (guix-publish-activation): New procedure. (guix-publish-service-type): Extend ACTIVATION-SERVICE-TYPE. * doc/guix.texi (Base Services): Document it. Ludovic Courtès
2017-04-19services: guix-publish: Fix getter names....Fixes a typo introduced in 697ddb8850d7aeb612ec9402e86f82c44edf8c96. * gnu/services/base.scm (<guix-publish-configuration>): Add missing 'configuration' word in getters for 'compression-level' and 'nar-path'. Ludovic Courtès
2017-04-18services: nginx: Use mime.types....* gnu/service/web.scm (default-nginx-config): Add 'nginx' parameter and honor it. Adjust callers. Julien Lepiller
2017-04-16services: Add a default value to various service types....* gnu/services/admin.scm (rottlog-service-type)[default-value]: New field. * gnu/services/base.scm (guix-service-type)[default-value]: New field. (guix-publish-service-type)[default-value]: New field. * gnu/services/cups.scm (cups-service-type)[default-value]: New field. * gnu/services/dict.scm (dicod-service-type)[default-value]: New field. * gnu/services/mcron.scm (mcron-service-type)[default-value]: New field. * gnu/services/networking.scm (<tor-configuration>)[config-file]: Add default value. (tor-service-type)[default-value]: New field. (<bitlbee-configuration>)[interface, port, extra-settings]: Add default values. (bitlbee-service-type)[default-value]: New field. (wpa-supplicant-service-type)[default-value]: New field. (tlp-service-type)[default-value]: New field. (openssh-service-type)[default-value]: New field. * doc/guix.texi (Base Services, Log Rotation) (Networking Services, Printing Services): (Power management Services): Adjust examples accordingly. Ludovic Courtès
2017-04-13services: tor: Run in a container....* gnu/services/networking.scm (tor-shepherd-service): Use (gnu build shepherd) and use 'make-forkexec-constructor/container' instead of 'make-forkexec-constructor'. Ludovic Courtès
2017-04-05services: cuirass: Wait for networking....* gnu/services/cuirass.scm (cuirass-shepherd-service): Add 'networking' to 'requirements'. Ludovic Courtès
2017-04-01services: dovecot: Fix passwd and userdb 'args' types....* gnu/services/mail.scm (passwd-configuration)[args] (userdb-configuration)[args]: Change type from 'free-form-args' to 'space-separated-string-list'. * doc/guix.texi (Mail Services): Document it. Clément Lassieur
2017-03-31doc: Fix typos....* doc/guix.texi (Build Systems)[ocaml-build-system]: Fix typo. (Log Rotation)[periodic-rotations]: ditto. (Database Services)[redis-service-type]: ditto. (OpenSMTPD Service)[opensmtpd-configuration]: ditto. (VPN Services)[OpenVPN]: ditto. (Power management Services)[tlp-configuration]: ditto. (Git daemon service)[git-daemon-service]: ditto. (Running GuixSD in a VM): ditto. * gnu/services/pm.scm (tlp-configuration)[runtime-pm-blacklist]: Fix typo. * gnu/services/vpn.scm (openvpn-client-configuration)[status]: ditto. Eric Bavier
2017-04-01services: dicod: Allow the configuration of "handlers"....* gnu/services/dict.scm (<dicod-configuration>)[handlers]: New field. (<dicod-handler>): New record type. (<dicod-database>): Add fields. (dicod-configuration-file): Support convert handlers and enhanced databases. configuration to config file. * doc/guix.texi (Miscellaneous Services): Update accordingly. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Huang Ying
2017-03-24services: Add inetd-service-type....* gnu/services/networking.scm (<inetd-configuration>, <inetd-entry>): New record types. (inetd-config-file, inetd-shepherd-service): New procedures. (inetd-service-type): New variable. * doc/guix.texi (Networking Services): Document it. * gnu/tests/networking.scm: New file. * gnu/local.mk: Add it. Thomas Danckaert
2017-03-24services: openvpn: Fix a typo which was corrected in generated doc....* gnu/services/vpn.scm (define-split-configuration): Fix typo. Signed-off-by: Clément Lassieur <clement@lassieur.org> Mathieu Othacehe
2017-03-24gnu: Add tlp service....* gnu/services/pm.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add gnu/services/tlp.scm. * doc/guix.texi (Power management Services): New section. Signed-off-by: Clément Lassieur <clement@lassieur.org> Mathieu Othacehe