mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 19:32:30 +01:00
29b458b672
Signed-off-by: Jessica Frazelle <princess@docker.com>
10 lines
222 B
Bash
Executable File
10 lines
222 B
Bash
Executable File
#!/bin/bash
|
|
|
|
|
|
mkdir -p /var/lib/mpd/{playlists,music} \
|
|
&& touch /var/lib/mpd/{state,tag_cache} \
|
|
&& chmod 0777 -R /var/lib/mpd \
|
|
&& chown -R mpd /var/lib/mpd
|
|
|
|
exec mpd --no-daemon --stdout --verbose /etc/mpd.conf "$@"
|