1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Copyright 2004-2007 Canonical Ltd. All rights reserved.
#
# This configuration creates an XML-RPC service listening on port 8999.
# See canonical.launchpad.daemons.authserver for more information.
from canonical.config import config
# Make sure we get the authserver's database configuration. This has to happen
# before anything else.
config.setProcess('authserver')
from twisted.application import service
from canonical.launchpad.daemons.authserver import AuthserverService
from canonical.launchpad.daemons.tachandler import ReadyService
from canonical.launchpad.scripts import execute_zcml_for_scripts
execute_zcml_for_scripts(use_web_security=True)
application = service.Application("authserver")
svc = AuthserverService()
svc.setServiceParent(application)
ReadyService().setServiceParent(application)
|