blob: 5a14f6017cbb79b9674bcbe4b9f0d3d345c95534 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/usr/bin/env sh
# Wrapper script for hbbr (RustDesk Relay server)
#
# Purpose: This wrapper changes to /etc/rustdesk before exec'ing hbbr.
# This is for consistency with hbbs (which needs the working directory
# for key generation). Using exec ensures the process name remains
# "hbbr" (not "sh") so syslog filtering works correctly.
cd /etc/rustdesk
exec /usr/bin/hbbr "$@"
|