[Unit] Description=DouyinWEB residential SOCKS forwarder (isolated from v2ray-agent) Documentation=file:/opt/douyinWEB/README.md After=network-online.target Wants=network-online.target [Service] Type=simple # MUST NOT be named sing-box.service — that unit belongs to v2ray-agent. WorkingDirectory=/opt/douyinWEB/backend ExecStart=/usr/bin/sing-box run -c /opt/douyinWEB/config/sing-box.json Restart=on-failure RestartSec=3 Nice=5 # Bind only via config listen 127.0.0.1:17891 — never TUN / never rewrite host routes. NoNewPrivileges=true ProtectSystem=full ProtectHome=true PrivateTmp=true # Hard deny writing v2ray-agent tree ReadOnlyPaths=/etc/v2ray-agent [Install] WantedBy=multi-user.target