Why not launching them with the service manager ? timeout in monit can be increase with
Best is tu use a check like this https://mmonit.com/monit/documentation/monit.html#Process with an increased timeout like check process foobar with pidfile /var/run/foobar.pid 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 <[email protected]> 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 ? > > Regards, > -- > <https://alolise.org> > > Jérôme Avond - aka jadjay > > Agitateur chez Alolise depuis avril 2005 > > ... et c'est tout ^^, > mail/xmpp : [email protected] > mobile: +33 6 61 46 97 85 > > [image: Prenez un chaton / Devenez un chaton] <http://chatons.org> > > [image: Promouvoir et soutenir le logiciel libre] <http://www.april.org> > > > -- > To unsubscribe: > https://lists.nongnu.org/mailman/listinfo/monit-general -- -----BEGIN GEEK CODE BLOCK----- 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?* ------END GEEK CODE BLOCK------
-- To unsubscribe: https://lists.nongnu.org/mailman/listinfo/monit-general
