Skip to content
This repository has been archived by the owner on Oct 26, 2021. It is now read-only.

run.sh: Listen anywhere if SOTA_CLIENT_ADDR is not set #5

Merged
merged 1 commit into from
Mar 24, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docker/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ export DBUS_SESSION_BUS_ADDRESS
export DBUS_SESSION_BUS_PID

LOGLEVEL=${LOGLEVEL:-"info"}
SOTA_CLIENT="${SOTA_CLIENT_ADDR:-sota-client}:${SOTA_CLIENT_PORT:-9080}"
SOTA_CLIENT="${SOTA_CLIENT_ADDR:-0.0.0.0}:${SOTA_CLIENT_PORT:-9080}"
RVI="${RVI:-http://rvi-client:8901}"

export RUST_LOG=${RUST_LOG:-"sota_client=$LOGLEVEL"}
/bin/sota_client -c /var/sota/client.toml -r "$RVI" -e "$SOTA_CLIENT"
/usr/bin/sota_client -c /var/sota/client.toml -r "$RVI" -e "$SOTA_CLIENT"