mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
allow rootless (as paperless user)
This commit is contained in:
parent
ca7a6fe1f1
commit
f58c2d0a7b
@ -95,7 +95,11 @@ initialize() {
|
||||
done
|
||||
set -e
|
||||
|
||||
gosu paperless /sbin/docker-prepare.sh
|
||||
if [ $(id -u) == $(id -u paperless) ]; then
|
||||
/sbin/docker-prepare.sh
|
||||
else
|
||||
gosu paperless /sbin/docker-prepare.sh
|
||||
fi
|
||||
}
|
||||
|
||||
install_languages() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user