Skip to content
This repository has been archived by the owner on Aug 30, 2020. It is now read-only.

fixes startup on hass.io #207

Merged
merged 1 commit into from Apr 19, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions docker/run.sh
Expand Up @@ -16,7 +16,7 @@ if [[ -f "${CONFIG_PATH}" ]]; then
# Hass.IO configuration
profile_name="$(jq --raw-output '.profile_name' "${CONFIG_PATH}")"
profile_dir="$(jq --raw-output '.profile_dir' "${CONFIG_PATH}")"
RHASSPY_ARGS="--profile \"${profile_name}\" --user-profiles \"${profile_dir}\""
RHASSPY_ARGS="--profile ${profile_name} --user-profiles ${profile_dir}"
fi

RHASSPY_VENV="${RHASSPY_APP}/.venv"
Expand All @@ -32,5 +32,5 @@ cd "${RHASSPY_APP}"
if [[ -z "${RHASSPY_ARGS}" ]]; then
python3 app.py "$@"
else
python3 app.py "${RHASSPY_ARGS}" "$@"
python3 app.py ${RHASSPY_ARGS} "$@"
fi