forked from Doma/docker-mopidy
Eventhou it is the ENTRYPOINT, it will just work as if it was the CMD because it exec all arguments.
10 lines
194 B
Bash
Executable File
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 "$@"
|