예제 #1
0
def when_i_restart_asterisk(step):
    sysutils.restart_service('asterisk')
    sysutils.restart_service('xivo-ctid')
예제 #2
0
def given_i_set_the_http_proxy_environment_variables_to_group1(step, http_proxy):
    sysutils.restart_service('xivo-confd', env={'HTTP_PROXY': http_proxy})
예제 #3
0
def restart_server():
    sysutils.restart_service('xivo-ctid')
    time.sleep(10)
예제 #4
0
def given_i_set_the_http_proxy_environment_variables_to_group1(
        step, http_proxy):
    sysutils.restart_service('xivo-restapi', env={'HTTP_PROXY': http_proxy})
예제 #5
0
def when_i_restart_asterisk(step):
    sysutils.restart_service('asterisk')
    sysutils.restart_service('xivo-ctid')
예제 #6
0
def restart_server():
    sysutils.restart_service('xivo-ctid')
    time.sleep(10)