mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01: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
|
||||
RUN \
|
||||
# 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
|
||||
ADD "https://raw.githubusercontent.com/alexbelgium/hassio-addons/master/.templates/ha_lsio.sh" "/ha_lsio.sh"
|
||||
|
||||
Reference in New Issue
Block a user