monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Feature request for config file checking?


From: Jan-Henrik Haukeland
Subject: Re: Feature request for config file checking?
Date: 11 Jun 2003 03:41:19 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Civil Service)

Aherr, I guess I misunderstod.. again (I should stop writing emails
late at night).

You're idea is excellent. monit, of course, can send the SIGHUP signal
to the process upon detecting a changed configuration file. For
programs that do reload upon SIGHUP (e.g. apache) this is also a
better solution than to stop and then start the process again. I'll
try to implement this so in addition to:

if timestamp "/local/apache/conf/httpd.conf" was changed then restart

something like this statement may also be used (suggestions for how
the statement may actually look are welcome):

if timestamp "/local/apache/conf/httpd.conf" was changed 
 then send the process the SIGHUP signal


-- 
Jan-Henrik Haukeland




reply via email to

[Prev in Thread] Current Thread [Next in Thread]