Re: Re: Upstart support for LSB headers (Two line init.d scripts? Sure, that will work!)
>> Usually, you want to start this service last and stop first.
>
> Why should it start last?
Because monit is not systemd. monit - is only an utility for
proactive monitoring, not yet another init-replacement.
So, lets start services first, then start monitoring. Do
we want to play races with sysvinit? No. Now can you see the point?
> but it should probably then just integrate with the init
> system so it knows if the system is about to shut down and
> then avoid restarting daemons.
The above use case is just a simplest example of such
integration. It's sysvinit responsibility to start/stop monit
as appropriate.
Reply to: