[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Monit no able to start a script in a fork way

From: Guillaume François
Subject: Re: Monit no able to start a script in a fork way
Date: Fri, 7 Dec 2018 21:18:44 +0100

Why not launching them with the service manager ?

timeout in monit can be increase with 

Best is tu use a check like this with an increased timeout like

check process foobar with pidfile /var/run/
   start program = "/etc/init.d/foobar start" with timeout 60 seconds
   stop program = "/etc/init.d/foobar stop"

PS: Vu que vous êtes membre de l'april, je veux faire ma BA et vous donnez du support si besoin ;-) car je suis un grand utilisateur de Monit et M/Monit

Le ven. 7 déc. 2018 à 14:16, Jérôme AVOND <address@hidden> a écrit :

Hi all,

I try to start a simple script with monit but either with nohup and &

The script is killed after 30s (the timing in monitrc)

The scripts are simple sh scripts which are daemons but they need to be launch forked

Is there any solution ?



Jérôme Avond - aka jadjay

Agitateur chez Alolise depuis avril 2005

... et c'est tout ^^,

mail/xmpp : address@hidden
mobile: +33 6 61 46 97 85

To unsubscribe:

Version: 3.1
GCS/IT d(+) s++:- a C++$ ULC(+)>+++$ !P--- L+>$ !E---? W+++$ !N* !o-- K--? w(+) !O---? !M- !V--? PS+? !PE Y+ PGP++>+++ !t-- !5 !X- R(+)>++* tv-? b(-) DI !D- G(+)>+ e+++ h--() r->$ y?*

reply via email to

[Prev in Thread] Current Thread [Next in Thread]