v2ray-core/tools/docker/docker-entrypoint.sh

11 lines
131 B
Bash
Raw Normal View History

#!/bin/bash
set -e
2016-02-23 04:20:34 +00:00
if [ "$1" = 'v2ray' ]; then
if [ ! -e "server-cfg.json" ]; then
./gen-server-cfg.sh
fi
fi
exec "$@"