feat: add RustDesk Server scripts (hbbs+hbbr native, systemd, UFW)
- 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
This commit is contained in:
23
scripts/rustdesk-hbbr.service
Normal file
23
scripts/rustdesk-hbbr.service
Normal file
@@ -0,0 +1,23 @@
|
||||
[Unit]
|
||||
Description=RustDesk Server (hbbr — relay)
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/local/bin/hbbr
|
||||
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-hbbr
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user