- 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
18 lines
374 B
Desktop File
18 lines
374 B
Desktop File
[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
|