remove ia64 keywords
[gentoo-zh.git] / net-proxy / Xray / files / xray_at.service
blob141de975454631e6ddcc2dfe710fdee62d7477e2
1 [Unit]
2 Description=Xray Service
3 Documentation=https://xtls.github.io/
4 After=network.target nss-lookup.target
6 [Service]
7 DynamicUser=yes
8 CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
9 AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
10 NoNewPrivileges=true
11 ExecStart=/usr/bin/xray run -config /etc/xray/%i.json
12 Restart=on-failure
13 RestartPreventExitStatus=23
14 LimitNPROC=10000
15 LimitNOFILE=1000000
17 [Install]
18 WantedBy=multi-user.target