Single image

This commit is contained in:
Wouter Habets
2016-08-29 19:02:15 +02:00
parent 1601b62e29
commit 27824d59c8
5 changed files with 6 additions and 9 deletions

11
entrypoint.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
mopidy local scan
if [[ "$PULSE_COOKIE_DATA" != "" ]]
then
echo -ne $(echo $PULSE_COOKIE_DATA | sed -e 's/../\\x&/g') >$HOME/pulse.cookie
export PULSE_COOKIE=$HOME/pulse.cookie
fi
exec /usr/bin/mopidy --config /var/lib/mopidy/.config/mopidy/mopidy.conf:/var/lib/mopidy/.config/mopidy/account-config/accounts.conf