mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-28 03:14:04 +02:00
Update user home directory and set environment variable
Modify user home directory and set environment variable in services.
This commit is contained in:
@@ -36,7 +36,10 @@ VOLUME [ "/sys/fs/cgroup" ]
|
|||||||
# hadolint ignore=SC2015,DL4006,SC2013,SC2086
|
# hadolint ignore=SC2015,DL4006,SC2013,SC2086
|
||||||
RUN \
|
RUN \
|
||||||
# Change home folder location
|
# Change home folder location
|
||||||
usermod --home /config/data_kde abc
|
usermod --home /config/data_kde abc && \
|
||||||
|
\
|
||||||
|
# Set +e
|
||||||
|
[[ -d /etc/services.d ]] && sed -i "1a set +e" /etc/services.d/*/run
|
||||||
|
|
||||||
# Global LSIO modifications
|
# Global LSIO modifications
|
||||||
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh"
|
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh"
|
||||||
|
|||||||
Reference in New Issue
Block a user