specific status checking for postgresql
change condition detecting that pg is stopped
Merge branch 'postgresql-status'