def is_running(name):
    ret = exec_cmd("/etc/init.d/{0} status".format(name))
    return ret['returncode'] == 0
dataset/ETHPy150Open comodit/synapse-agent/synapse/resources/services-plugin/services-systemv.py/is_running/original