Phase 3 agent presence + bridge IP scrub & health-fn fix #204
1 changed files with 6 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ load_rc_config $name
|
|||
: ${colibri_bridge_enable:="NO"}
|
||||
: ${colibri_bridge_user:="clawdie"}
|
||||
: ${colibri_bridge_group:="clawdie"}
|
||||
: ${colibri_bridge_listen_addr:="100.72.229.63"}
|
||||
: ${colibri_bridge_listen_addr:="TAILSCALE_IP_REQUIRED"}
|
||||
: ${colibri_bridge_listen_port:="9190"}
|
||||
: ${colibri_bridge_socket:="/var/run/colibri/colibri.sock"}
|
||||
: ${colibri_bridge_run_dir:="/var/run/colibri"}
|
||||
|
|
@ -74,6 +74,11 @@ colibri_bridge_prestart()
|
|||
echo "ERROR: socat not found at ${colibri_bridge_socat}"
|
||||
return 1
|
||||
fi
|
||||
if [ "${colibri_bridge_listen_addr}" = "TAILSCALE_IP_REQUIRED" ]; then
|
||||
echo "ERROR: colibri_bridge_listen_addr not configured"
|
||||
echo " Set in /etc/rc.conf: sysrc colibri_bridge_listen_addr=<tailscale-ip>"
|
||||
return 1
|
||||
fi
|
||||
if [ ! -S "${colibri_bridge_socket}" ]; then
|
||||
echo "ERROR: colibri socket not found at ${colibri_bridge_socket}"
|
||||
echo " Start colibri_daemon first: service colibri_daemon start"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue