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
commit bb047baeba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 %}