def restart(name):
    cmd = '/etc/init.d/{0} restart'.format(name)
    return not __salt__['cmd.retcode'](cmd, python_shell=False)
Forcing garbage collection should cause unhandled Deferreds to be
dataset/ETHPy150Open saltstack/salt/salt/modules/gentoo_service.py/restart--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/trial/test/test_tests.py/TestUnhandledDeferred.test_isReported