forked from Doma/docker-mopidy
Rename mopidy.sh -> entrypoint.sh.
The later name is what Docker official images usually use, like Redis for example.
This commit is contained in:
9
entrypoint.sh
Executable file
9
entrypoint.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/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 $*
|
||||
Reference in New Issue
Block a user