net-dns/ddns-go: add 6.7.7, drop 6.7.6
[gentoo-zh.git] / net-proxy / Xray / files / xray.service
blob1d1f97d315c0e905d4d21c581a1bd1278fa795d8
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 -confdir /etc/xray
12 Restart=on-failure
13 RestartPreventExitStatus=23
14 LimitNPROC=10000
15 LimitNOFILE=1000000
17 [Install]
18 WantedBy=multi-user.target