Merge pull request #13277 from jbradberry/psql-pager

Configure dbshell to use the 'less' pager
This commit is contained in:
Jeff Bradberry
2022-12-02 13:27:46 -05:00
committed by GitHub

View File

@@ -273,7 +273,8 @@ RUN for dir in \
/var/lib/shared/vfs-layers/layers.lock \
/var/run/nginx.pid \
/var/lib/awx/venv/awx/lib/python3.9/site-packages/awx.egg-link ; \
do touch $file ; chmod g+rw $file ; done
do touch $file ; chmod g+rw $file ; done && \
echo "\setenv PAGER 'less -S'" > /var/lib/awx/.psqlrc
{% endif %}
{% if not build_dev|bool %}