fix is_running check to properly treat empty pidfile as not running
Merge pull request #5144 from bparees/psql_migrate_restart

Merged by openshift-bot