Support for RHEL/CentOS 7 which uses FHS-3.0. 

FHS-3.0 dictates that pid files lives in /run.

NB. This is a suggestion for a change. If the code I have written does not fit well feel free to change it around or suggest changes.