source env vars.

This commit is contained in:
Johanna Rührig 2025-01-01 21:15:15 +01:00
parent 496792f102
commit 8b691a5b79

View File

@ -81,10 +81,11 @@ STATIC_FILES=/spa/static
HOST 0.0.0.0 HOST 0.0.0.0
EOF EOF
export PATH="$POETRY_HOME/bin:$VENV_PATH/bin:$PATH" export PATH="$POETRY_HOME/bin:$VENV_PATH/bin:$PATH"
set -a; source /etc/environment; set +a;
msg_ok "Setting up ENV" msg_ok "Setting up ENV"
msg_info "Create user account" msg_info "Create user account"
useradd -u 911 -U -d $MEALIE_HOME abc useradd -u 911 -U -d $MEALIE_HOME -s /bin/bash abc
usermod -G users abc usermod -G users abc
mkdir $MEALIE_HOME mkdir $MEALIE_HOME
msg_ok "Create user account" msg_ok "Create user account"