github.com/v2fly/v2ray-core/v4@v4.45.2/release/debian/v2ray.service (about)

     1  [Unit]
     2  Description=V2Ray Service
     3  Documentation=https://www.v2fly.org/
     4  After=network.target nss-lookup.target
     5  
     6  [Service]
     7  User=nobody
     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/v2ray -config /etc/v2ray/config.json
    12  Restart=on-failure
    13  RestartPreventExitStatus=23
    14  
    15  [Install]
    16  WantedBy=multi-user.target