Ensure Postfix starts in the container, now it runs as non-root by default. Fixes #5076

This commit is contained in:
Dave Page
2020-01-20 10:41:27 +00:00
parent 33cb649f26
commit 23e218f1b5
3 changed files with 6 additions and 3 deletions

View File

@@ -48,7 +48,7 @@ if [ ! -f /var/lib/pgadmin/pgadmin4.db ]; then
fi
# Start Postfix to handle password resets etc.
/usr/sbin/postfix start
sudo /usr/sbin/postfix start
# Get the session timeout from the pgAdmin config. We'll use this (in seconds)
# to define the Gunicorn worker timeout