- scripts/host/setup-host-rustdesk.sh: protect RustDesk ID on host - scripts/host/README-host.md: instructions for manual apply - configs/rustdesk2-host.toml.template: config template - configs/systemd/: systemd units for both VPS and host
24 lines
451 B
Desktop File
24 lines
451 B
Desktop File
[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
|