From 43aa0330512486158252427a79478dfce9d3ea7b Mon Sep 17 00:00:00 2001 From: Gene Wood Date: Wed, 27 Nov 2024 23:29:33 -0800 Subject: [PATCH] Update the comment about systemd This updates the comment about systemd to reflect the fact that LogFilterPatterns now exist and can filter out the noise generated by the HEALTHCHECK --- Dockerfile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7237820..e18fa07 100644 --- a/Dockerfile +++ b/Dockerfile @@ -58,10 +58,13 @@ RUN chmod +x /usr/sbin/*.sh RUN chmod +r /config/recorder.conf RUN chmod 444 /config/timezone16.bin -# If you absolutely need health-checking, enable the option below. Keep in -# mind that until https://github.com/systemd/systemd/issues/6432 is resolved, -# using the HEALTHCHECK feature will cause systemd to generate a significant -# amount of spam in the system logs. +# If you need health-checking, enable the option below. If you are running +# systemd version 253 or newer, make sure to configure LogFilterPatterns to +# filter out the healthchecks from the system logs. +# https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html#LogFilterPatterns= +# If you are running systemd version 252 or older, keep in mind that using the +# HEALTHCHECK feature will cause systemd to generate a significant amount of +# spam in the system logs. # HEALTHCHECK CMD /usr/sbin/recorder-health.sh EXPOSE 8083