Configure dbshell to use the 'less' pager

This commit is contained in:
Jeff Bradberry 2022-12-02 12:15:24 -05:00
parent ff7facdfa2
commit 57430afc55

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