[2005] in Moira

home help back first fref pref prev next nref lref last post

mailhub.sh change

daemon@ATHENA.MIT.EDU (Mark Silis)
Fri Apr 18 12:40:12 2003

Message-Id: <200304181640.h3IGeApV024591@I-fear-reorgs.mit.edu>
To: moiradev@MIT.EDU
Date: Fri, 18 Apr 2003 12:40:10 -0400
From: Mark Silis <mark@MIT.EDU>


This change allows us more flexibility in how the moira updates handle
restarting the sendmail processes.

-- Mark

Index: mailhub.sh
===================================================================
RCS file: /afs/.athena/astaff/project/moiradev/repository/moira/gen/mailhub.sh,v
retrieving revision 1.12
diff -u -r1.12 mailhub.sh
--- mailhub.sh	15 May 2002 20:25:05 -0000	1.12
+++ mailhub.sh	18 Apr 2003 16:37:49 -0000
@@ -55,7 +55,7 @@
     exit $MR_MKCRED
 fi
 
-kill `ps -ef | grep "sendmail" | egrep -v "grep|mqueue.stall" | awk '{print $2}'`
+sh /etc/init.d/sendmail stop
 sleep 60
 
 mv $root/etc/aliases $root/etc/aliases.old

home help back first fref pref prev next nref lref last post