This commit is contained in:
Wouter Habets
2016-08-06 13:24:21 +02:00
commit 1601b62e29
6 changed files with 203 additions and 0 deletions

11
base/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