2 Description=Xray Service
3 Documentation=https://github.com/xtls
4 After=network.target nss-lookup.target
12 CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
13 AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
15 ExecStart=/usr/bin/xray run -config /etc/xray/config.json
17 RestartPreventExitStatus=23
22 WantedBy=multi-user.target