Update 99-run.sh

This commit is contained in:
Alexandre
2022-11-08 06:56:29 +01:00
committed by GitHub
parent 1fa031add6
commit 49c33b2f53

View File

@@ -17,7 +17,7 @@ echo "vm.overcommit_memory = 1" >> /etc/sysctl.conf || true
###############################
# Origin : https://github.com/linuxserver/docker-paperless-ngx/blob/main/root/etc/cont-init.d/99-migrations
bashio::log.info "Creating default user"
cat << EOF | python3 /app/paperless/src/manage.py shell
cat << EOF | python3 $(find /app -name manage.py) shell
from django.contrib.auth import get_user_model
# see ref. below