[Top][All Lists]

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

[monit] Can monit do this ?

From: Donnell Lewis
Subject: [monit] Can monit do this ?
Date: Thu, 15 May 2008 14:49:29 -0400

Quick question,

I have monit installed 5.0beta1 and I have a .pid file for a service
that runs that can be located in two different spots dependent upon what
install I am doing for it.

My question is, can monit monitor and do this ?:

monitor /var/run/<service>.pid or if that doesn't exist look for
/var/run/<service>/<service>.pid else restart/start

This way it looks at either location for the .pid file for that service
and if it doesn't exist in either location it would start the service.
Can monit do a "and or" monitor of file locations ?


Don Lewis

reply via email to

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