362e33a MONITOR: Correctly detect lack of response from services

Authored and Committed by sgallagh 12 years ago
    MONITOR: Correctly detect lack of response from services
    
    We were incorrectly using DBUS_ERROR_TIMEOUT here. The correct
    behaviour is to check for DBUS_ERROR_NO_REPLY. This way we will
    properly handle the three-tries in the tasks_check_handler().
    
    Additionally, we weren't properly handling failure counts
    correctly, meaning we weren't restarting stuck services in a
    timely manner.
    
        
file modified
+26 -21