feat: add client config script and systemd unit

This commit is contained in:
Orchestrator
2026-05-15 23:51:09 +01:00
parent 3f49556cd7
commit 32451eb0f8
2 changed files with 35 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
[Unit]
Description=RustDesk Client (local hbbs)
After=xorg-dummy.service network.target
[Service]
Type=simple
User=root
Environment="DISPLAY=:0"
Environment="XAUTHORITY=/root/.Xauthority"
ExecStartPre=/root/write-rustdesk-config.sh
ExecStartPre=/bin/sleep 2
ExecStart=/usr/share/rustdesk/rustdesk --server
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target