services: mpd: Remove the mpd-file field.
authorPeter Mikkelsen <petermikkelsen10@gmail.com>
Wed, 23 Aug 2017 16:39:16 +0000 (18:39 +0200)
committerLudovic Courtès <ludo@gnu.org>
Thu, 31 Aug 2017 12:43:26 +0000 (14:43 +0200)
commitb6dc69af1de806e8b3a70e9a1afe0e1590da5480
treec1b83815fa24c120000bdc9cfff68e1aa3db757a
parent79ada57ba9b8067fa419177cf41b6bd6e63fb27d
services: mpd: Remove the mpd-file field.

Since MPD switches user, the pid-file must be in a writable dir.  This
is now always /var/run/mpd/(user)/pid.

* gnu/services/audio.scm (mpd-service-type): Add a activation-service
extension.
(<mpd-configuration>)[pid-file]: Remove.
(mpd-service): Rename to...
(mpd-shepherd-service): ... this.
(mpd-file-name, mpd-service-activation): New procedure.
* doc/guix.texi (Audio Services): Document the changes.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
doc/guix.texi
gnu/services/audio.scm