Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Théo Giovanna
bitmask_client
Commits
449bb9f2
Unverified
Commit
449bb9f2
authored
Mar 09, 2016
by
Kali Kaneko
Browse files
[pkg] adapt launcher to work inside frozen binary
parent
b546d642
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/leap/bitmask/core/launcher.py
View file @
449bb9f2
...
...
@@ -18,9 +18,10 @@
Run bitmask daemon.
"""
from
twisted.scripts.twistd
import
run
from
os.path
import
join
,
dirname
from
os.path
import
join
from
sys
import
argv
from
leap.bitmask.util
import
here
from
leap.bitmask
import
core
...
...
@@ -28,7 +29,7 @@ def run_bitmaskd():
# TODO --- configure where to put the logs... (get --logfile, --logdir
# from the bitmask_cli
argv
[
1
:]
=
[
'-y'
,
join
(
dirname
(
core
.
__file__
),
"bitmaskd.tac"
),
'-y'
,
join
(
here
(
core
),
"bitmaskd.tac"
),
'--pidfile'
,
'/tmp/bitmaskd.pid'
,
'--logfile'
,
'/tmp/bitmaskd.log'
,
'--umask=0022'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment