We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 173d9b8 commit 9da9227Copy full SHA for 9da9227
run
@@ -38,7 +38,7 @@ if [ -n "$user" ]; then
38
bashio::log.notice "Replacing existing user with uid $PUID: $user"
39
deluser "$user"
40
fi
41
-adduser -G "$GROUP" -D -H -u "$PUID" "$USER"
+adduser -G "$GROUP" -D -u "$PUID" "$USER"
42
43
if [ -n "${EXTRA_GID:-}" ]; then
44
bashio::log.info "Resolving suppementary GIDs: $EXTRA_GID"
@@ -94,6 +94,9 @@ fi
94
bashio::log.info "Activating venv"
95
. "$VENV_PATH/bin/activate"
96
97
+bashio::log.info "Setting new \$HOME"
98
+export HOME="$( getent passwd "$USER" | cut -d: -f6 )"
99
+
100
# Everything below should be kept in sync with
101
# core:rootfs/etc/services.d/home-assistant/run
102
# from upstream:
0 commit comments