Hi,

CentOS 6.x uses upstart ... the /etc/inittab entries have no effect, as stated 
in the header of CentOS's /etc/inittab file:

--8<--
# inittab is only used by upstart for the default runlevel.
#
# ADDING OTHER CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.
--8<--

You can find hints for starting Monit with upstart here:
http://mmonit.com/wiki/Monit/Upstart


Regards,
Martin



On 03 Jul 2014, at 01:16, Simon Gao <[email protected]> wrote:

> Hi,
> 
> I am trying to set monit to start from init process. But it does not seem to 
> work.
> 
> 
> Here is the line in /etc/inittab:
> 
> mo:2345:respawn:/usr/bin/monit -Ic /etc/monit.conf
> 
> Manually running "/usr/bin/monit -Ic /etc/monit.conf" works fine.
> 
> Any help is appreciated.
> 
> Simon
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general


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

Reply via email to