services: Add 'description' fields.

* gnu/services/admin.scm (rottlog-service-type)
(tailon-service-type): Add 'description' field.
* gnu/services/audio.scm (mpd-service-type): Likewise.
* gnu/services/avahi.scm (avahi-service-type): Likewise.
* gnu/services/ssh.scm (lsh-service-type)
(openssh-service-type, dropbear-service-type): Likewise.
This commit is contained in:
Ludovic Courtès 2017-11-05 15:29:52 +01:00
parent b6d2930d1f
commit 21b71b01e9
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
4 changed files with 20 additions and 1 deletions

View File

@ -183,6 +183,9 @@ for ROTATION."
(define rottlog-service-type (define rottlog-service-type
(service-type (service-type
(name 'rottlog) (name 'rottlog)
(description
"Periodically rotate log files using GNU@tie{}Rottlog and GNU@tie{}mcron.
Old log files are removed or compressed according to the configuration.")
(extensions (list (service-extension etc-service-type rottlog-etc) (extensions (list (service-extension etc-service-type rottlog-etc)
(service-extension mcron-service-type (service-extension mcron-service-type
rottlog-jobs-or-default) rottlog-jobs-or-default)
@ -323,6 +326,9 @@ for ROTATION."
(define tailon-service-type (define tailon-service-type
(service-type (service-type
(name 'tailon) (name 'tailon)
(description
"Run Tailon, a Web application for monitoring, viewing, and searching log
files.")
(extensions (extensions
(list (service-extension shepherd-root-service-type (list (service-extension shepherd-root-service-type
tailon-shepherd-service) tailon-shepherd-service)

View File

@ -97,6 +97,7 @@
(define mpd-service-type (define mpd-service-type
(service-type (service-type
(name 'mpd) (name 'mpd)
(description "Run the Music Player Daemon (MPD).")
(extensions (extensions
(list (service-extension shepherd-root-service-type (list (service-extension shepherd-root-service-type
(compose list mpd-shepherd-service)) (compose list mpd-shepherd-service))

View File

@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014, 2015, 2016 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2014, 2015, 2016, 2017 Ludovic Courtès <ludo@gnu.org>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -117,6 +117,11 @@
(define avahi-service-type (define avahi-service-type
(let ((avahi-package (compose list avahi-configuration-avahi))) (let ((avahi-package (compose list avahi-configuration-avahi)))
(service-type (name 'avahi) (service-type (name 'avahi)
(description
"Run @command{avahi-daemon}, a host and service discovery
daemon that implements the multicast DNS (mDNS) and DNS service
discovery (DNS-SD) protocols. Additionally, extend the C library's name
service switch (NSS) with support for @code{.local} host name resolution.")
(extensions (extensions
(list (service-extension shepherd-root-service-type (list (service-extension shepherd-root-service-type
avahi-shepherd-service) avahi-shepherd-service)

View File

@ -186,6 +186,9 @@
(define lsh-service-type (define lsh-service-type
(service-type (name 'lsh) (service-type (name 'lsh)
(description
"Run the GNU@tie{}lsh secure shell (SSH) daemon,
@command{lshd}.")
(extensions (extensions
(list (service-extension shepherd-root-service-type (list (service-extension shepherd-root-service-type
lsh-shepherd-service) lsh-shepherd-service)
@ -460,6 +463,8 @@ of user-name/file-like tuples."
(define openssh-service-type (define openssh-service-type
(service-type (name 'openssh) (service-type (name 'openssh)
(description
"Run the OpenSSH secure shell (SSH) server, @command{sshd}.")
(extensions (extensions
(list (service-extension shepherd-root-service-type (list (service-extension shepherd-root-service-type
openssh-shepherd-service) openssh-shepherd-service)
@ -543,6 +548,8 @@ of user-name/file-like tuples."
(define dropbear-service-type (define dropbear-service-type
(service-type (name 'dropbear) (service-type (name 'dropbear)
(description
"Run the Dropbear secure shell (SSH) server.")
(extensions (extensions
(list (service-extension shepherd-root-service-type (list (service-extension shepherd-root-service-type
dropbear-shepherd-service) dropbear-shepherd-service)