douyinWEB/scripts/linux/douyinweb-singbox.service
hackrobot 1e8eb0130a Sync dylive production working tree to test3.
Include latest server fixes for yt-long/disk/ops and related frontend.
Exclude .bak scratch files.
2026-10-14 07:04:18 +00:00

23 lines
610 B
Desktop File

[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
# Binary is DouyinWEB-owned ONLY — never /etc/v2ray-agent/sing-box/sing-box
WorkingDirectory=/opt/douyinWEB/backend
ExecStart=/opt/douyinWEB/bin/sing-box run -c /opt/douyinWEB/config/sing-box.json
Restart=on-failure
RestartSec=3
Nice=5
NoNewPrivileges=true
ProtectSystem=full
ProtectHome=true
PrivateTmp=true
ReadOnlyPaths=/etc/v2ray-agent
[Install]
WantedBy=multi-user.target