- install-rustdesk-server.sh: download & install hbbs/hbbr from GitHub releases - rustdesk-hbbs.service: systemd unit for ID-server (ports 21115-21116) - rustdesk-hbbr.service: systemd unit for relay (port 21117) - open-rustdesk-ports.sh: idempotent UFW port opening - README.md: deployment instructions Generated by orchestrator in APAW worktree, applied to VPS 2.59.219.61
24 lines
460 B
Desktop File
24 lines
460 B
Desktop File
[Unit]
|
|
Description=RustDesk Server (hbbs — ID / NAT relay)
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=/usr/local/bin/hbbs
|
|
WorkingDirectory=/var/lib/rustdesk-server
|
|
Restart=on-failure
|
|
RestartSec=5s
|
|
|
|
NoNewPrivileges=true
|
|
ProtectSystem=strict
|
|
ProtectHome=true
|
|
ReadWritePaths=/var/lib/rustdesk-server
|
|
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=rustdesk-hbbs
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|