Fix PID discovery in redhat init script.