updated logic
@@ -152,6 +152,7 @@ then
fi
echo "P \"Groupwise AdminService\" status=0.5;;;1 GroupWise AdminService is running with PID: $gwAdminProcess but not listening."
+else
echo "P \"GroupWise AdminService\" status=0;;;1 GroupWise AdminService process is not Running."