Files
mopidy/entrypoint.sh
Werner Beroux 70e1af0961 Rename mopidy.sh -> entrypoint.sh.
The later name is what Docker official images usually
use, like Redis for example.
2015-07-07 21:16:59 +02:00

10 lines
208 B
Bash
Executable File

#!/bin/bash
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 $*