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

Commit

Permalink
Merge pull request #5 from leon-anavi/master-PDXostc
Browse files Browse the repository at this point in the history
run.sh: Listen anywhere if SOTA_CLIENT_ADDR is not set
  • Loading branch information
Rudolf J Streif committed Mar 24, 2016
2 parents cbfda9f + 8d930be commit e5d3702
Showing 1 changed file with 2 additions and 2 deletions.
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"

0 comments on commit e5d3702

Please sign in to comment.