Add stderr redirect for cron
This commit is contained in:
parent
082c86667a
commit
7338ee133e
@ -38,6 +38,7 @@ RUN echo "" >> /etc/supervisord.conf && \
|
|||||||
echo "[program:cron]" >> /etc/supervisord.conf && \
|
echo "[program:cron]" >> /etc/supervisord.conf && \
|
||||||
echo "command=/usr/sbin/crond -f" >> /etc/supervisord.conf && \
|
echo "command=/usr/sbin/crond -f" >> /etc/supervisord.conf && \
|
||||||
echo "stdout_logfile=/dev/fd/1" >> /etc/supervisord.conf && \
|
echo "stdout_logfile=/dev/fd/1" >> /etc/supervisord.conf && \
|
||||||
echo "stdout_logfile_maxbytes=0" >> /etc/supervisord.conf
|
echo "stdout_logfile_maxbytes=0" >> /etc/supervisord.conf && \
|
||||||
|
echo "redirect_stderr=true" >> /etc/supervisord.conf
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/bin/supervisord", "-c", "/etc/supervisord.conf"]
|
ENTRYPOINT ["/usr/bin/supervisord", "-c", "/etc/supervisord.conf"]
|
Loading…
x
Reference in New Issue
Block a user