[Unit] Description=V2Ray Service Documentation=https://www.v2fly.org/ After=network.target nss-lookup.target Wants=network-online.target [Service] User=root CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW NoNewPrivileges=true ExecStart=/usr/bin/v2ray run -config /etc/v2ray/v2ray-server.json Restart=always RestartPreventExitStatus=23 StartLimitInterval=0 [Install] WantedBy=multi-user.target