Add stderr redirect for cron
This commit is contained in:
parent
3176652564
commit
67df113caf
@ -38,6 +38,7 @@ RUN echo "" >> /etc/supervisord.conf && \
|
||||
echo "[program:cron]" >> /etc/supervisord.conf && \
|
||||
echo "command=/usr/sbin/crond -f" >> /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"]
|
Loading…
x
Reference in New Issue
Block a user