[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Monit set in /etc/inittab on CentOS 6.5
From: |
Martin Pala |
Subject: |
Re: Monit set in /etc/inittab on CentOS 6.5 |
Date: |
Thu, 3 Jul 2014 14:37:51 +0200 |
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 <address@hidden> 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