lookfirst/jmxtrans — pull request #19 by fdrouet (2012-04-05 20:50:06+00:00)
Title: Delete .pid file (if any) after shutdown and clean shutdown

When we use a pid file (to be able to launch several JMXTrans instances from the same server in my case), we have 2 problems :
* inside the while loop of the stop() function, the PSCMD is not good when several instances of JMXTrans are started
* the PID file is not deleted after shutting down JMXTrans process

My proposed patch fix the 2 problems