1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 18:17:52 -05:00
v2fly/tools/docker/docker-entrypoint.sh
2016-02-23 12:23:22 +08:00

11 lines
131 B
Bash
Executable File

#!/bin/bash
set -e
if [ "$1" = 'v2ray' ]; then
if [ ! -e "server-cfg.json" ]; then
./gen-server-cfg.sh
fi
fi
exec "$@"