Changes how the environment variables from a file are set and expands to allow any to be set this way

This commit is contained in:
Trenton Holmes authored and Trenton H committed 2022-12-29 17:40:26 -08:00
1 parent a2b7687c3b
commit 06c6f33d97
4 files changed
+50 -44

No files matched your search

+3
View File
@@ -3,6 +3,9 @@
set -e
cd /usr/src/paperless/src/
# This ensures environment is setup
# shellcheck disable=SC1091
source /sbin/env-from-file.sh
if [[ $(id -u) == 0 ]] ;
then