summaryrefslogtreecommitdiff
path: root/src/leap/bonafide/zmq.tac
blob: d3a962530f0c7b9262cda753e5e0e065c6aaf0dc (plain)
1
2
3
4
5
6
7
8
9
10
# Run as: twistd -n -y zmq.tac
from twisted.application import service
from leap.bonafide.zmq_service import BonafideZMQService

top_service = service.MultiService()
bonafide_zmq_service = BonafideZMQService()
bonafide_zmq_service.setServiceParent(top_service)

application = service.Application("bonafide")
top_service.setServiceParent(application)