Rename mopidy.sh -> entrypoint.sh.

The later name is what Docker official images usually
use, like Redis for example.
This commit is contained in:
Werner Beroux
2015-07-07 21:16:59 +02:00
parent b1853a7106
commit 70e1af0961
2 changed files with 3 additions and 3 deletions

9
entrypoint.sh Executable file
View 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 $*