github.com/sagernet/sing-box@v1.9.0-rc.20/release/config/sing-box.service (about)

     1  [Unit]
     2  Description=sing-box service
     3  Documentation=https://sing-box.sagernet.org
     4  After=network.target nss-lookup.target network-online.target
     5  
     6  [Service]
     7  CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_SYS_PTRACE CAP_DAC_READ_SEARCH
     8  AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_SYS_PTRACE CAP_DAC_READ_SEARCH
     9  ExecStart=/usr/bin/sing-box -D /var/lib/sing-box -C /etc/sing-box run
    10  ExecReload=/bin/kill -HUP $MAINPID
    11  Restart=on-failure
    12  RestartSec=10s
    13  LimitNOFILE=infinity
    14  
    15  [Install]
    16  WantedBy=multi-user.target