ethminer_supervisor/util.py
def restart():
    """ Restart ethminer service - stop, one 1 second, start """
    logger.info('Restarting ethminer...')
    subprocess.Popen([SERVICE_STOP, ], shell=True)
    sleep(1)
    subprocess.Popen([SERVICE_START, ], shell=True)
    logger.info('Ethminer restarted')
 Restart ethminer service - stop, one 1 second, start 
Restart ethminer service - stop, one 1 second, start
Restart ethminer service - stop one 1 second start
def restart():
    logger.info('Restarting ethminer...')
    subprocess.Popen([SERVICE_STOP, ], shell=True)
    sleep(1)
    subprocess.Popen([SERVICE_START, ], shell=True)
    logger.info('Ethminer restarted')
def restart ( ) : logger . info ( 'Restarting ethminer...' ) subprocess . Popen ( [ SERVICE_STOP , ] , shell = True ) sleep ( 1 ) subprocess . Popen ( [ SERVICE_START , ] , shell = True ) logger . info ( 'Ethminer restarted' )
Restart ethminer service - stop, one 1 second, start
Restart ethminer service - stop one 1 second start
""" Restart ethminer service - stop, one 1 second, start """