Skip to content

Commit

Permalink
Fix issue Mailu#2811. Clamav Healthcheck created zombie processes
Browse files Browse the repository at this point in the history
  • Loading branch information
Diman0 committed Jun 28, 2023
1 parent 6922943 commit 4cf9993
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion optional/clamav/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ COPY start.py /
RUN echo $VERSION >/version

#EXPOSE 3310/tcp
HEALTHCHECK --start-period=350s CMD echo PING|nc localhost 3310|grep "PONG"
HEALTHCHECK CMD kill -0 `cat /run/clamd.pid` && kill -0 `cat /run/freshclam.pid`

VOLUME ["/data"]

Expand Down
1 change: 1 addition & 0 deletions towncrier/newsfragments/2811.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Healthcheck of clamav image created zombie processes

0 comments on commit 4cf9993

Please sign in to comment.