blob: ca61a470730e9ed97651a3af0e4834c7abedb1c2 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/usr/bin/env sh
# Wrapper script for hbbs (RustDesk ID/Rendezvous server)
#
# Purpose: This wrapper changes to /etc/rustdesk before exec'ing hbbs.
# hbbs generates its keypair (id_ed25519, id_ed25519.pub) in its
# working directory. Using exec ensures the process name remains
# "hbbs" (not "sh") so syslog filtering works correctly.
cd /etc/rustdesk
exec /usr/bin/hbbs "$@"
|