diff options
author | Peter Mikkelsen <petermikkelsen10@gmail.com> | 2017-08-23 18:39:16 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-08-31 14:43:26 +0200 |
commit | b6dc69af1de806e8b3a70e9a1afe0e1590da5480 (patch) | |
tree | c1b83815fa24c120000bdc9cfff68e1aa3db757a /doc | |
parent | 79ada57ba9b8067fa419177cf41b6bd6e63fb27d (diff) | |
download | guix-b6dc69af1de806e8b3a70e9a1afe0e1590da5480.tar.gz guix-b6dc69af1de806e8b3a70e9a1afe0e1590da5480.zip |
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>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guix.texi | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index e8b4d5e082..781c5f04d1 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -15844,9 +15844,6 @@ The directory to scan for music files. @item @code{playlist-dir} (default: @code{"~/.mpd/playlists"}) The directory to store playlists. -@item @code{pid-file} (default: @code{"/var/run/mpd.pid"}) -The file mpd wil store its PID. This must be an absolute path. - @item @code{port} (default: @code{"6600"}) The port to run mpd on. |