umbrel-apps/homebridge/exports.sh
2023-05-30 05:41:18 -07:00

5 lines
310 B
Bash

# Homebridge runs in host networking mode, so does not use the app proxy which is needed to generate the Tor HS hostname
# This generates a fake HS hostname for Homebridge
HOMEBRIDGE_TOR_DIR="${EXPORTS_TOR_DATA_DIR}/app-${EXPORTS_APP_ID}"
mkdir -p "${HOMEBRIDGE_TOR_DIR}"
touch "${HOMEBRIDGE_TOR_DIR}/hostname"