Why not use monit from init? I'm running it that way across several dozen servers, works very nicely.

On 6/27/14 10:38 AM, Martin Pala wrote:
Hi,

you should use absolute path to the configuration file, e.g.:

        /usr/local/bin/monit -c /root/.monitrc

Regards,
Martin




On 27 Jun 2014, at 19:27, Bruce MacKenzie <[email protected]> wrote:

Hi. I’m having trouble getting monit to start on server boot. I’ve added this 
to my /etc/rc.local;
--8<--
/usr/local/bin/monit -c ~/.monitrc

and it doesn’t seem to help. It worked on my CentOS 6 server but not on my 
CentOS 5 server.

Thanks

Bruce
[email protected]




--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

--
Paul Theodoropoulos
www.anastrophe.com

--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to