diff --git a/Containers/postgresql/start.sh b/Containers/postgresql/start.sh index f2be4fc0..971bb6cc 100644 --- a/Containers/postgresql/start.sh +++ b/Containers/postgresql/start.sh @@ -52,6 +52,10 @@ if ( [ -f "$DATADIR/PG_VERSION" ] && [ "$PG_MAJOR" != "$(cat "$DATADIR/PG_VERSIO exit 1 fi + # Write output to logfile. + exec > >(tee -i "$DUMP_DIR/database-import.log") + exec 2>&1 + # Inform echo "Restoring from database dump."