Add pid file for centos7