Ejemplo n.º 1
0
 def disable_service(name, client):
     if FleetCtl._has_service(name, client):
         fleet_name = FleetCtl._get_unit_name(name, client)
         client.run('systemctl disable {0}'.format(fleet_name))
     else:
         Systemd.disable_service(name, client)
Ejemplo n.º 2
0
 def disable_service(name, client):
     if FleetCtl._has_service(name, client):
         fleet_name = FleetCtl._get_unit_name(name, client)
         client.run('systemctl disable {0}'.format(fleet_name))
     else:
         Systemd.disable_service(name, client)
Ejemplo n.º 3
0
 def disable_service(name, client):
     fleet_name = FleetCtl._get_unit_name(name, client)
     return Systemd.disable_service(fleet_name, client)