-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nick Upson [10.09.2012 14:51]:
> I think that my theory may hold water, from /etc/init.d/httpd
> 
> # When stopping httpd a delay of >10 second is required before
> SIGKILLing the # httpd parent; this gives enough time for the httpd
> parent to SIGKILL any # errant children. stop() { echo -n
> $"Stopping $prog: " killproc -p ${pidfile} -d 10 $httpd RETVAL=$? 
> echo [ $RETVAL = 0 ] && rm -f ${lockfile} ${pidfile} }

And now your config reads

stop  program = "/etc/init.d/httpd stop" with timeout 10 seconds

?

Just curious...

Werner
- -- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlBN+esACgkQk33Krq8b42N5awCfUKqtda+nliHNyOvAOLzk40An
b0sAnjvTRZYu7ZyaIlpiZD6M2EsaUXMd
=iQV5
-----END PGP SIGNATURE-----

--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to