diff options
author | Kali Kaneko (leap communications) <kali@leap.se> | 2017-02-22 01:16:39 +0100 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2017-02-23 00:42:20 +0100 |
commit | 143c61353479c8040eb1160984af7cfbe7e53a55 (patch) | |
tree | 2ce62f2759a1118dcead4d534e5a1a6f30a9334b /src/leap/bitmask/core/service.py | |
parent | 25ad6f18057ad7951f74eff35afe25d220952efa (diff) |
[refactor] complete eip -> vpn rename in core
Diffstat (limited to 'src/leap/bitmask/core/service.py')
-rw-r--r-- | src/leap/bitmask/core/service.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/leap/bitmask/core/service.py b/src/leap/bitmask/core/service.py index 65b5ddc..902bfa6 100644 --- a/src/leap/bitmask/core/service.py +++ b/src/leap/bitmask/core/service.py @@ -32,7 +32,7 @@ from leap.bitmask.core import _zmq from leap.bitmask.core import flags from leap.bitmask.core import _session from leap.bitmask.core.web.service import HTTPDispatcherService -from leap.bitmask.vpn.service import EIPService +from leap.bitmask.vpn.service import VPNService from leap.common.events import server as event_server logger = Logger() @@ -76,8 +76,8 @@ class BitmaskBackend(configurable.ConfigurableService): if enabled('mail'): on_start(self._init_mail_services) - if enabled('eip'): - on_start(self._init_eip) + if enabled('vpn'): + on_start(self._init_vpn) if enabled('zmq'): on_start(self._init_zmq) @@ -165,8 +165,8 @@ class BitmaskBackend(configurable.ConfigurableService): service = mail_services.StandardMailService self._maybe_init_service('mail', service, self.basedir) - def _init_eip(self): - self._maybe_init_service('eip', EIPService) + def _init_vpn(self): + self._maybe_init_service('vpn', VPNService) def _init_zmq(self): zs = _zmq.ZMQServerService(self) @@ -213,8 +213,8 @@ class BitmaskBackend(configurable.ConfigurableService): self._init_mail_services() self._start_mail_services() - elif service == 'eip': - self._init_eip() + elif service == 'vpn': + self._init_vpn() elif service == 'zmq': self._init_zmq() @@ -245,7 +245,7 @@ class BackendCommands(object): def do_status(self): # we may want to make this tuple a class member - services = ('soledad', 'keymanager', 'mail', 'eip', 'web') + services = ('soledad', 'keymanager', 'mail', 'vpn', 'web') status = {} for name in services: |