Move MPD database into "~/.var"

This commit is contained in:
2014-12-07 01:24:22 +01:00
parent b2c8d515b7
commit b49d59adef
2 changed files with 2 additions and 3 deletions

1
mpd/mpd/.gitignore vendored
View File

@@ -1 +0,0 @@
database

View File

@@ -25,7 +25,7 @@ playlist_directory "~/music/playlists/mpd"
# MPD to accept files over ipc socket (using file:// protocol) or streaming # MPD to accept files over ipc socket (using file:// protocol) or streaming
# files over an accepted protocol. # files over an accepted protocol.
# #
db_file "~/.mpd/database" db_file "~/.var/lib/mpd/database"
# #
# These settings are the locations for the daemon log files for the daemon. # These settings are the locations for the daemon log files for the daemon.
# These logs are great for troubleshooting, depending on your log_level # These logs are great for troubleshooting, depending on your log_level
@@ -47,7 +47,7 @@ pid_file "~/.var/run/mpd.pid"
# it was brought down. This setting is disabled by default and the server # it was brought down. This setting is disabled by default and the server
# state will be reset on server start up. # state will be reset on server start up.
# #
state_file "~/.var/local/mpd.state" state_file "~/.var/lib/mpd/state"
# #
# The location of the sticker database. This is a database which # The location of the sticker database. This is a database which
# manages dynamic information attached to songs. # manages dynamic information attached to songs.