On Tue, Nov 23, 2010 at 3:15 PM, Darhl Thomason
<address@hidden> wrote:
Sure how about something like:
check file Monit_config path /etc/monitrc
if changed sha1 checksum
then exec "/usr/local/bin/monit reload"
You could put that into your check apache deal and for the exec (on my system - Debian Lenny) put "then exec "/etc/init.d/apache2 reload"
On Tue, Nov 23, 2010 at 2:40 PM, Dave Paper
<address@hidden> wrote:
Hi monit gurus,
I'm hoping I've overlooked some part of the monit manual. I've got start & stop program definitions for all of my jobs, but would really like to be able to define a "restart program = /opt/apache/bin/apachectl graceful" instead of having to do a full stop & start. As far as I can tell, "monit stop JOB; monit start JOB"
Is this something monit has the ability to do?
Thanks,
-dave
--
Dave Paper
"Hello, I must be going." --Groucho
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general