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

Reply via email to