Re: [EXIM] periodic queue runs

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Paul Mansfield
Fecha:  
A: Philip Hazel
Cc: Exim users mailing list
Asunto: Re: [EXIM] periodic queue runs
On Sun, 17 Jan 1999, Philip Hazel wrote:
> On 16 Jan 1999, Harald Meland wrote:
> > On connect:
> >   /bin/sh -c 'rm /usr/exim/configure; \
> >               ln -s configure.link_is_up /usr/exim/configure; \
> >               kill -HUP `cat /var/lock/exim-daemon.pid`; \
> >               /usr/exim/bin/exim -qf; '

>
> The problem with that is that there is a very short window of time when
> there is no configuation file. That won't bother the daemon, but it will


back in the days of 1.82 when we first started we got problems, so the
configure change program now looks like this (the new configure file is stuffed
into incoming, and we run a Makefile which thus only updates the live service
when a change occurs):
    cp configure configure.old
    cp -p incoming/configure configure
    chown root configure
    chgrp other configure
    chmod g=r configure
    kill -1 `cat /var/spool/exim/exim-daemon.pid`


it's belt-and-braces, but our occasional outages stopped happening...

Paul


--
*** Exim information can be found at http://www.exim.org/ ***