demo add pid file, so you can understand how to monit a simple demo

a simple demo with pid.