Le 10/11/2010 09:24, Eric Pailleau a écrit :
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/nn_logger
echo $PID > /var/run/nn_logger.pid
Hello again,
well , I red a bit fast...
$PID is set by a 'pgrep nn_logger' ...
But my post scriptum shows, that pid is invalid...
May be there is another nn_logger running at the moment and pgrep does
not return right pid,
or nn_logger is forking itself after a while : the first pgrep return
the father pid before exit,
while the right child nn_logger have another pid...
Regards.
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general