1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-23 02:26:49 -05:00
v2fly/tools/docker/docker-entrypoint.sh

11 lines
131 B
Bash
Raw Normal View History

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