summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/leap/bitmask/app.py4
-rw-r--r--src/leap/bitmask/backend_app.py3
2 files changed, 7 insertions, 0 deletions
diff --git a/src/leap/bitmask/app.py b/src/leap/bitmask/app.py
index c9c02b59..a1b7481a 100644
--- a/src/leap/bitmask/app.py
+++ b/src/leap/bitmask/app.py
@@ -63,6 +63,8 @@ from leap.bitmask.services.mail import plumber
from leap.bitmask.util import leap_argparse, flags_to_dict, here
from leap.bitmask.util.requirement_checker import check_requirements
+from leap.common.config import flags as common_flags
+
from leap.mail import __version__ as MAIL_VERSION
import codecs
@@ -172,6 +174,8 @@ def start_app():
flags.DEBUG = opts.debug
+ common_flags.STANDALONE = flags.STANDALONE
+
logger = get_logger(perform_rollover=True)
# NOTE: since we are not using this right now, the code that replaces the
diff --git a/src/leap/bitmask/backend_app.py b/src/leap/bitmask/backend_app.py
index fb1f4400..76276e92 100644
--- a/src/leap/bitmask/backend_app.py
+++ b/src/leap/bitmask/backend_app.py
@@ -22,6 +22,7 @@ import signal
from twisted.internet import reactor
+from leap.common.config import flags as common_flags
from leap.common.events import server as event_server
from leap.bitmask.backend.leapbackend import LeapBackend
@@ -70,6 +71,8 @@ def run_backend(bypass_checks=False, flags_dict=None, frontend_pid=None):
if flags_dict is not None:
dict_to_flags(flags_dict)
+ common_flags.STANDALONE = flags.STANDALONE
+
# NOTE: this needs to be used here, within the call since this function is
# executed in a different process and it seems that the process/thread
# identification isn't working 100%