mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-07-01 21:14:54 +02:00
check-for-changes: performance improvements + wait for settle (#2104)
This commit is contained in:
parent
c2fb98ea3c
commit
232d463b81
10 changed files with 215 additions and 187 deletions
|
@ -20,11 +20,11 @@ trap "service postfix stop" SIGINT
|
|||
trap "service postfix stop" SIGTERM
|
||||
trap "service postfix reload" SIGHUP
|
||||
|
||||
service postfix start
|
||||
sleep 5
|
||||
service postfix start &
|
||||
wait
|
||||
|
||||
# wait until postfix is dead (triggered by trap)
|
||||
while kill -0 "$(< /var/spool/postfix/pid/master.pid)"
|
||||
do
|
||||
sleep 5
|
||||
sleep 1
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue