mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-18 02:16:10 -05:00
af578d4af2
* initial debian packaging * add action for debian packaging * trigger build * fix syntax
17 lines
406 B
Desktop File
17 lines
406 B
Desktop File
[Unit]
|
|
Description=V2Ray Service
|
|
Documentation=https://www.v2fly.org/
|
|
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 -config /etc/v2ray/config.json
|
|
Restart=on-failure
|
|
RestartPreventExitStatus=23
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|