On 14 April 2011 08:29, Jordi Sanfeliu <jo...@fibranet.cat> wrote: > Hi Chris, > > Actually I was tempted to include the 'pidfile' feature in the early 2.0.0 > version, but I wasn't sure if some system would need it. :) > > Anyway, it has been applied successfully on the current Monitorix tree and > it will see the light in the next version.
<snip> > Just a question, I've noticed that the PID value is saved on the file > without the 'newline' character. Is that correct? That is correct; traditionally something like `echo -n $! > ${pidfile}` is used in the rc script, but there are various reasons that was difficult in the one I wrote. Looking at MailScanner however, that puts \n in the pidfile with no adverse effects, so you could do whatever you like! Chris ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Monitorix-general mailing list Monitorix-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monitorix-general