mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-30 05:18:11 +01:00
329b27eeeb
Signed-off-by: Jess Frazelle <acidburn@google.com>
11 lines
244 B
Bash
Executable File
11 lines
244 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
set -o pipefail
|
|
|
|
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 "$@"
|