Revert "check-for-changes: performance improvements + wait for settle (#2104)"

This reverts commit 232d463b81.
This commit is contained in:
Nathan Pierce 2021-08-28 19:16:34 -04:00 committed by GitHub
parent 784ec60612
commit dff7e428c0
9 changed files with 188 additions and 216 deletions

View file

@ -20,11 +20,11 @@ trap "service postfix stop" SIGINT
trap "service postfix stop" SIGTERM
trap "service postfix reload" SIGHUP
service postfix start &
wait
service postfix start
sleep 5
# wait until postfix is dead (triggered by trap)
while kill -0 "$(< /var/spool/postfix/pid/master.pid)"
do
sleep 1
sleep 5
done