douyinWEB/scripts/linux/douyinweb-singbox.service
2026-09-22 10:52:53 -05:00

23 lines
588 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