From e9460143ccdae613b4bb322976f353fe411a01c8 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Wed, 6 Jul 2016 12:35:10 +0200 Subject: [PATCH] update postfix run script --- rootfs/etc/services.d/postfix/run | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/rootfs/etc/services.d/postfix/run b/rootfs/etc/services.d/postfix/run index 629b840..d2daf8c 100644 --- a/rootfs/etc/services.d/postfix/run +++ b/rootfs/etc/services.d/postfix/run @@ -4,14 +4,5 @@ trap "postfix stop" SIGINT trap "postfix stop" SIGTERM trap "postfix reload" SIGHUP -# start postfix postfix start - -# lets give postfix some time to start -sleep 3 - -# wait until postfix is dead (triggered by trap) -while kill -0 "`cat /var/spool/postfix/pid/master.pid`"; do - sleep 5 -done - +sleep infinity