From 8b691a5b79fdf6d4dad8f69c7ac98dda8d38d9e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johanna=20R=C3=BChrig?= Date: Wed, 1 Jan 2025 21:15:15 +0100 Subject: [PATCH] source env vars. --- install/mealie-install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install/mealie-install.sh b/install/mealie-install.sh index 4f0cccae..80828016 100644 --- a/install/mealie-install.sh +++ b/install/mealie-install.sh @@ -81,10 +81,11 @@ STATIC_FILES=/spa/static HOST 0.0.0.0 EOF export PATH="$POETRY_HOME/bin:$VENV_PATH/bin:$PATH" +set -a; source /etc/environment; set +a; msg_ok "Setting up ENV" 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 mkdir $MEALIE_HOME msg_ok "Create user account"