summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/core/bitmaskd.tac
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2016-03-04 12:02:26 -0400
committerKali Kaneko <kali@leap.se>2016-04-19 09:59:25 -0400
commitf4503842fdc288fb6336211099ad0a8d01165df3 (patch)
tree05bb4d2a2a2be4fb02d8048df5c426f2b0e20243 /src/leap/bitmask/core/bitmaskd.tac
parent6fd1c73db49c5e1e08cf7963017470511fef0059 (diff)
[feature] landing of bitmask.core
Diffstat (limited to 'src/leap/bitmask/core/bitmaskd.tac')
-rw-r--r--src/leap/bitmask/core/bitmaskd.tac11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/leap/bitmask/core/bitmaskd.tac b/src/leap/bitmask/core/bitmaskd.tac
new file mode 100644
index 00000000..3c9b1d8b
--- /dev/null
+++ b/src/leap/bitmask/core/bitmaskd.tac
@@ -0,0 +1,11 @@
+# Service composition for bitmask-core.
+# Run as: twistd -n -y bitmaskd.tac
+#
+from twisted.application import service
+
+from leap.bitmask.core.service import BitmaskBackend
+
+
+bb = BitmaskBackend()
+application = service.Application("bitmaskd")
+bb.setServiceParent(application)