mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-04-10 08:29:58 +02:00
20 lines
619 B
Plaintext
20 lines
619 B
Plaintext
#!/usr/bin/with-contenv bashio
|
|
# shellcheck shell=bash
|
|
set -euo pipefail
|
|
|
|
# ==============================================================================
|
|
# Home Assistant Add-on: NetBird Server
|
|
# Runs the NetBird Signal service
|
|
# ==============================================================================
|
|
|
|
SIGNAL_PORT=8083
|
|
SIGNAL_GRPC_PORT=10000
|
|
LOG_LEVEL="info"
|
|
|
|
bashio::log.info "Starting NetBird Signal on port ${SIGNAL_PORT} (gRPC: ${SIGNAL_GRPC_PORT})..."
|
|
exec /usr/local/bin/netbird-signal run \
|
|
--port "$SIGNAL_PORT" \
|
|
--grpc-port "$SIGNAL_GRPC_PORT" \
|
|
--log-level "$LOG_LEVEL" \
|
|
--log-file console
|