diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-10-18 17:40:11 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-10-18 17:40:11 +0200 |
commit | 71a23a703db0e4f33b0b42664b0fbc6a0e6f9c1d (patch) | |
tree | 8194116bb2150c36da6bbdc639b9d4c476035aac /package/mpd/files/mpd.conf | |
parent | f441f541ded2301ef5dc6cc45e22eb50127a1d71 (diff) |
disable running mpd as non-root, we now use a data directory which is automatically remounted rw when database is written. it is not possible to remount a filesystem as user read-write, without any sudo or sbit hacks.
Diffstat (limited to 'package/mpd/files/mpd.conf')
-rw-r--r-- | package/mpd/files/mpd.conf | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package/mpd/files/mpd.conf b/package/mpd/files/mpd.conf index cb5bc4c90..d022a3069 100644 --- a/package/mpd/files/mpd.conf +++ b/package/mpd/files/mpd.conf @@ -1,11 +1,11 @@ # An example configuration file for MPD -user "mpd" +user "root" auto_update "no" music_directory "/music" playlist_directory "/etc/mpd/playlists" state_file "/etc/mpd/state" -db_file "/etc/mpd/database" -pid_file "/var/run/mpd/mpd.pid" +db_file "/data/mpd/database" +pid_file "/var/run/mpd.pid" log_file "syslog" filesystem_charset "UTF-8" id3v1_encoding "UTF-8" |