changed v2ray client config generation

This commit is contained in:
vladimir.kuznetsov 2023-02-13 10:05:15 +03:00
parent 6a903792ab
commit 68830021d6
9 changed files with 49 additions and 64 deletions

View file

@ -26,6 +26,6 @@ killall -KILL openvpn
# start daemons if configured
if [ -f /opt/amnezia/openvpn/ca.crt ]; then (openvpn --config /opt/amnezia/openvpn/server.conf --daemon); fi
if [ -f /opt/amnezia/v2ray/v2ray-server.json ]; then (v2ray - c /opt/amnezia/v2ray/v2ray-server.json &)
if [ -f /opt/amnezia/v2ray/v2ray-server.json ]; then (v2ray -config /opt/amnezia/v2ray/v2ray-server.json &); fi
tail -f /dev/null