def enable_service(conn, service='ceph'):
    if is_systemd(conn):
        remoto.process.run(
            conn,
            [
                'systemctl',
                'enable',
                '{service}'.format(service=service),
            ]
        )
    else:
        remoto.process.run(
            conn,
            [
                'chkconfig',
                '{service}'.format(service=service),
                'on',
            ]
        )
open file.
dataset/ETHPy150Open ceph/ceph-deploy/ceph_deploy/util/system.py/enable_service--crossover with--dataset/ETHPy150Open CGATOxford/cgat/scripts/split_fasta.py/Files.OpenFile