1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-03-17 20:57:54 +02:00

dovecot is creating zombies

This commit is contained in:
Florent Daigniere 2023-04-21 17:27:59 +02:00
parent eec9d1201f
commit 36fcb9b830
4 changed files with 3 additions and 9 deletions

View File

@ -16,7 +16,7 @@ COPY start.py /
RUN echo $VERSION >/version
EXPOSE 110/tcp 143/tcp 993/tcp 4190/tcp 2525/tcp
HEALTHCHECK CMD echo PING|nc -w2 localhost 5001|grep "PONG"
HEALTHCHECK CMD kill -0 `cat /run/dovecot/master.pid`
VOLUME ["/mail"]

View File

@ -95,13 +95,6 @@ service auth-worker {
}
}
service health-check {
executable = script -p health-check.sh
inet_listener health-check {
port = 5001
}
}
###############
# IMAP & POP
###############

View File

@ -9,7 +9,7 @@ import sys
from podop import run_server
from socrate import system, conf
system.set_env(log_filters=r'waitpid\(\) returned unknown PID \d+$')
system.set_env()
def start_podop():
system.drop_privs_to('mail')

View File

@ -1 +1,2 @@
The SMTP container wasn't logging things like it should
The health-check of dovecot was creating zombies