environment/lib/python2.7/site-packages/gurumate-2.8.6-py2.7.egg/gurumate/httpd.py
def check_running(process_name="apache2"):
    '''
        CHECK if process (default=apache2) is not running
    '''
    if not gurumate.base.get_pid_list(process_name):
        fail("Apache process '%s' doesn't seem to be working" % process_name)
        return False #unreachable
    return True
def check_running(process_name="apache2"):
    '''
        CHECK if process (default=apache2) is not running
    '''
    if not gurumate.base.get_pid_list(process_name):
        fail("Apache process '%s' doesn't seem to be working" % process_name)
        return False #unreachable
    return True
def check_running ( process_name = "apache2" ) : if not gurumate . base . get_pid_list ( process_name ) : fail ( "Apache process '%s' doesn't seem to be working" % process_name ) return False #unreachable return True
CHECK if process (default=apache2) is not running
CHECK if process ( default = apache2 ) is not running