mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-07 07:15:07 +01:00
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:
parent
a2b7687c3b
commit
06c6f33d97
4 changed files with 50 additions and 44 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue