diff options
author | Tomás Touceda <chiiph@leap.se> | 2014-07-24 15:26:47 -0300 |
---|---|---|
committer | Tomás Touceda <chiiph@leap.se> | 2014-07-24 15:26:47 -0300 |
commit | c01e87456bc5fded14778251bbd5dfe4fc4ebbd0 (patch) | |
tree | 38e48db1889e1af3b7b60cdb43ab7786798d557a /src/leap/bitmask/backend_app.py | |
parent | faadf8dc3bb1e49adc23c64d5a851b7eea0ce2ee (diff) | |
parent | ce88b52295881a3dd1bc0efec8e72b1d3a235e87 (diff) |
Merge remote-tracking branch 'refs/remotes/ivan/feature/add-frontend-alive-check' into develop
Diffstat (limited to 'src/leap/bitmask/backend_app.py')
-rw-r--r-- | src/leap/bitmask/backend_app.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/leap/bitmask/backend_app.py b/src/leap/bitmask/backend_app.py index 5c0e4803..716ae4a7 100644 --- a/src/leap/bitmask/backend_app.py +++ b/src/leap/bitmask/backend_app.py @@ -44,7 +44,7 @@ def signal_handler(signum, frame): logger.debug("{0}: SIGNAL #{1} catched.".format(pname, signum)) -def run_backend(bypass_checks, flags_dict): +def run_backend(bypass_checks, flags_dict, frontend_pid=None): """ Run the backend for the application. @@ -59,5 +59,6 @@ def run_backend(bypass_checks, flags_dict): dict_to_flags(flags_dict) - backend = LeapBackend(bypass_checks=bypass_checks) + backend = LeapBackend(bypass_checks=bypass_checks, + frontend_pid=frontend_pid) backend.run() |