diff options
-rw-r--r-- | .config/systemd/user/mpd@.service | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.config/systemd/user/mpd@.service b/.config/systemd/user/mpd@.service index 0e273cc..ef58e17 100644 --- a/.config/systemd/user/mpd@.service +++ b/.config/systemd/user/mpd@.service @@ -4,6 +4,8 @@ After=network.target sound.target Conflicts=mpd.service [Service] +ExecStartPre=/usr/bin/mkdir -p %h/.config/mpd/playlists/ %h/.local/share/mpd/ +ExecStartPre=touch %h/.local/share/mpd/mpd.db %h/.local/share/mpd/state ExecStart=/usr/bin/mpd --no-daemon %h/.config/mpd/%i.conf LimitRTPRIO=75 LimitRTTIME=infinity |