pid_file for redhat and centos;
Merge pull request #6 from Andor/master

pid_file for redhat and centos;