[2006] in Moira
Re: mailhub.sh change
daemon@ATHENA.MIT.EDU (Jonathon Weiss)
Fri Apr 18 16:38:26 2003
Message-Id: <200304182038.QAA07299@the-other-woman.mit.edu>
From: Jonathon Weiss <jweiss@MIT.EDU>
To: Mark Silis <mark@MIT.EDU>
cc: moiradev@MIT.EDU
In-reply-to: Your message of "Fri, 18 Apr 2003 12:40:10 EDT."
<200304181640.h3IGeApV024591@I-fear-reorgs.mit.edu>
Date: Fri, 18 Apr 2003 16:38:23 -0400
Garry's out of town, but I'll take this. Could you confirm a couple
of things though? First, is the sleep 60 still appropriate, or has it
been subsumed into the /etc/init.d script? Second, are the mailhubs
ready for this change to be deployed without any additional
coordination?
Jonathon
>
> 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