From b6dc69af1de806e8b3a70e9a1afe0e1590da5480 Mon Sep 17 00:00:00 2001 From: Peter Mikkelsen Date: Wed, 23 Aug 2017 18:39:16 +0200 Subject: services: mpd: Remove the mpd-file field. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. ()[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 --- doc/guix.texi | 3 --- 1 file changed, 3 deletions(-) (limited to 'doc') 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. -- cgit v1.2.3