blob: a40df07f7b7719a8b974c58ae886f98579f16d89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
[Unit]
Description=V2Ray-Rust Service
Documentation=https://www.github.com/Qv2ray/v2ray-rust
After=network.target nss-lookup.target
[Service]
User=nobody
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
NoNewPrivileges=true
ExecStart=/usr/bin/v2ray-rust --config /etc/v2ray-rust/config.toml
[Install]
WantedBy=multi-user.target
|