[1890] in Moira

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

mailhub.sh fix

daemon@ATHENA.MIT.EDU (Mark Silis)
Thu Nov 22 11:01:47 2001

Message-Id: <200111221600.fAMG0wm03025@sunscreen.mit.edu>
To: moiradev@mit.edu
cc: postmaster@mit.edu
Date: Thu, 22 Nov 2001 11:00:58 -0500
From: Mark Silis <mark@MIT.EDU>

We never noticed this one since we don't run stall queues much anymore, but
this will prevent any stall queue runs from getting killed off with the
rest of the sendmail processes.

-- Mark

Index: mailhub.sh
===================================================================
RCS file: /afs/athena/astaff/project/moiradev/repository/moira/gen/mailhub.sh,v
retrieving revision 1.9
diff -u -r1.9 mailhub.sh
--- mailhub.sh	2001/06/04 21:07:49	1.9
+++ mailhub.sh	2001/11/22 15:44:09
@@ -16,7 +16,7 @@
 	exit $MR_MKCRED
 fi
 
-kill `ps -el | grep "sendmail" | egrep -v "grep|mqueue.stall" | awk '{print $4}'`
+kill `ps -ef | grep "sendmail" | egrep -v "grep|mqueue.stall" | awk '{print $2}'`
 sleep 60
 
 mv $root/etc/aliases $root/etc/aliases.old

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