summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/core/launcher.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/bitmask/core/launcher.py')
-rw-r--r--src/leap/bitmask/core/launcher.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/leap/bitmask/core/launcher.py b/src/leap/bitmask/core/launcher.py
index 14d8e607..b1d5dabd 100644
--- a/src/leap/bitmask/core/launcher.py
+++ b/src/leap/bitmask/core/launcher.py
@@ -44,7 +44,7 @@ def here(module=None):
return dirname(__file__)
-def run_bitmaskd():
+def run_bitmaskd(app_name=None, exec_path=None):
# TODO --- configure where to put the logs... (get --logfile, --logdir
# from bitmaskctl
@@ -55,6 +55,9 @@ def run_bitmaskd():
flags.VERBOSE = True
if STANDALONE:
flags.VERBOSE = True
+ flags.APP_NAME = app_name
+ flags.EXEC_PATH = exec_path
+
args = [
'-y', join(here(core), "bitmaskd.tac"),
'--logfile', getLogPath(),