lbry-docker/lbrycrd/stuff/docker-entrypoint.sh
Leopere bb2a839a51
finalized for 11/11 release
readme cleaned up
lbrycrd permissions fixed
2018-11-09 20:07:14 -05:00

13 lines
300 B
Bash
Executable file

#!/usr/bin/env bash
# default to run whatever the user wanted like "/bin/bash"
## If user runs no need to run any more of the entrypoint script.
if [[ -z "$@" ]]; then
echo "User did not attempt input. Now executing docker-entrypoint."
else
echo "Running $@."
exec "$@"
exit 1
fi
/bin/bash