2 Description=Xray Service
3 Documentation=https://xtls.github.io/
4 After=network.target nss-lookup.target
8 CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
9 AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
11 ExecStart=/usr/bin/xray run -config /etc/xray/%i.json
13 RestartPreventExitStatus=23
18 WantedBy=multi-user.target