Files
mopidy/entrypoint.sh
Werner Beroux 1fa077c2d5 Make entrypoint.sh the entrypoint.
Eventhou it is the ENTRYPOINT, it will just work
as if it was the CMD because it exec all arguments.
2015-07-08 14:57:11 +02:00

10 lines
194 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 "$@"