Re: Restarting

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Philip Hazel
Data:  
Para: Jawaid Bazyar, Nigel Metheringham
CC: exim-users
Asunto: Re: Restarting
On Fri, 27 Sep 1996, Jawaid Bazyar wrote:

> #!/bin/sh
> kill -HUP `cat /usr/exim/spool/exim-daemon.pid`


On Fri, 27 Sep 1996, Nigel Metheringham wrote:

> It would be nice if I could shove the pid file elsewhere without
> major fiddling (ie config options).


This option will be available in 0.57 as a build-time option. [*]
Consequently, an "exirestart" script as simple as the above will be no
longer possible. It seemed to me that people could hack up little
scripts like the above tailored to their own circumstances easily
enough.

There is also the problem of sites like Kuyper's, that run more than one
daemon. Hmm. Perhaps I should use different file names for non-standard
daemons, i.e. those without -bd or without -q? I may do that.

[*] I haven't made it a run time option because I also added a build time
option for where the log files are to go, and that one *has* to be
compile time only (so it knows where to write the panic log when it
can't read the runtime options!) The daemon's pid file could, however,
be a runtime option if there's a requirement for that.

--
Philip Hazel                   University Computing Service,
ph10@???             New Museums Site, Cambridge CB2 3QG,
P.Hazel@???          England.  Phone: +44 1223 334714