From 7338ee133e305376daf8e3b6606dae93a0f1a772 Mon Sep 17 00:00:00 2001 From: MrMeeb Date: Fri, 19 Apr 2024 13:13:18 +0000 Subject: [PATCH] Add stderr redirect for cron --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2b9f951..ba10155 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] \ No newline at end of file