summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-04-25 17:28:21 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-07-25 13:04:17 -0400
commite1070ee16036f6dfb84c44aea4119e4db770356b (patch)
tree66833da2d1907d19f69ec70f780b1da001e3ad45 /doc
parent6a57bf96128a35b500f640784a36d0d1fa8a5466 (diff)
services: mpd: Add an 'update' action to trigger a database update.
* gnu/services/audio.scm (mpd-shepherd-service): Register a new update action. * doc/guix.texi (Audio Services): Document it.
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index b5eca57d75..ea1e391a6f 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -34251,6 +34251,16 @@ The following example shows how one might run @code{mpd} as user
(port "6666")))
@end lisp
+Most MPD clients will trigger a database update upon connecting, but you
+can also use the @code{update} action do to so:
+
+@example
+herd update mpd
+@end example
+
+All the MPD configuration fields are documented below, and a more
+complex example follows.
+
@defvar mpd-service-type
The service type for @command{mpd}
@end defvar