add restart action check for jbosseap+postgresql