feat: add persistent RustDesk client service for VPS
- Add rustdesk-vps.service (systemd unit with Xvfb + DBus) - Add rustdesk-vps-start.sh (Xvfb startup + DBus session for RustDesk) - Update xorg-dummy.service without -nolisten local (fixes socket access) - Update rustdesk-dummy.service with /usr/share/ binary path - Add docker-compose.vps.yml with hbbs/hbbr RustDesk server - RustDesk client connects to public relay rs-ny.rustdesk.com:21116 - ID: 458564614 (confirmed via --get-id) - Password: retrowest
This commit is contained in:
17
config/vps/rustdesk-vps.service
Normal file
17
config/vps/rustdesk-vps.service
Normal file
@@ -0,0 +1,17 @@
|
||||
[Unit]
|
||||
Description=RustDesk VPS Client
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
Environment="DISPLAY=:99"
|
||||
ExecStartPre=-/usr/bin/pkill -9 Xvfb
|
||||
ExecStart=/usr/local/bin/rustdesk-vps-start.sh
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user