docker-calibre-web/root/etc/cont-init.d/30-config

13 lines
302 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/usr/bin/with-contenv bash
# copy config
[[ ! -e /app/calibre-web/gunicorn.conf.py ]] && \
cp /defaults/gunicorn.conf.py /app/calibre-web/gunicorn.conf.py
[[ ! -e /app/calibre-web/wsgi.py ]] && \
cp /defaults/wsgi.py /app/calibre-web/wsgi.py
# permissions
chown -R abc:abc \
/app/calibre-web