Re: [Exim] pid-file

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Simon Williams
Fecha:  
A: exim-users
Asunto: Re: [Exim] pid-file
* On Thu, Jul 11, 2002 at 04:50:52PM BST, Philip Hazel <ph10@???> wrote:
> On Thu, 11 Jul 2002, Simon Williams wrote:
> > In that case, would this be better for killing queue-runners?:
> >
> > kill $(/path/to/exiwhat | grep -v daemon | grep -v handling | \
> > grep -v accepting | awk '{print $1}')
>
> Er, I think the plot has gone astray here. Or I'm confused.


The former, I think.

> My
> recollection was that nobody wanted to kill individual queue runners.
> What the original poster wanted was to start a daemon with something
> like -q15m but NOT -bd, and find a way of killing *that daemon*
> conveniently. Its process should show up in exiwhat as a daemon, without
> the "listening" stuff.
>
> (BTW, your command would kill processes that are "delivering"...)


In that case, something like this?:

kill $(/path/to/exiwhat | grep daemon | grep -v listening | \
awk '{print $1}')


--
 Simon Williams <simon@???> **** PGP: 099977D0
 "We demand rigidly defined areas of doubt and uncertainty."
                       - Douglas Adams