Re: Monit and booting

SZÉPE Viktor <[email protected]>
Newsgroups gmane.comp.monitoring.monit.general
Message-ID <[email protected]>
Try

set daemon 115
   start delay 10

in monit rc

Idézem/Quoting Paul van der Vlis <[email protected]>:

> Hello,
>
> I have a monit rule like this:
> ----
> check process apache with pidfile /var/run/apache2/apache2.pid
>   start program = "/etc/init.d/apache2 start"
>   stop program  = "/etc/init.d/apache2 stop"
>   if 4 restarts within 20 cycles then timeout
> ----
>
> What I don't know good, is what is happening at a boot. I would prefer
> it when a process starts the normal way, and not trough Monit. Is there
> a way to start this check after some time?
>
> With regards,
> Paul van der Vlis
>
>
>
> --
> Paul van der Vlis Linux systeembeheer Groningen
> https://www.vandervlis.nl/



SZÉPE Viktor, webes alkalmazás üzemeltetés / Running your application
https://github.com/szepeviktor/debian-server-tools/blob/master/CV.md
~~~
ügyelet/hotline: +36-20-4242498  [email protected]  skype: szepe.viktor
Budapest, III. kerület
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.