Re: [Exim] pid-file

Góra strony
Delete this message
Reply to this message
Autor: Peter N Lewis
Data:  
Dla: exim-users
Temat: Re: [Exim] pid-file
> > Now Philip will fix that in the next minor release, but I was just
>> wondering what I could do in the meantime - apart from killing them by
>> hand, that is.
>
>Ah, I see now. You could try something like this in a shell script
>called from a cron job (depending on your needs/reasons for killing
>the queue-runner) to avoid doing it by hand all of the time:


One possibility, I have no idea if it will work, would be to use the
csh to execute the command and %1 to kill it, Ie:

/wherever/exim -whatever &
kill %1

Also, when started like that from csh, it prints out the job number and pid:

[1] 7132

Perhaps that would help?

Enjoy,
    Peter.


--
<http://www.interarchy.com/> <http://download.interarchy.com/>