from twisted.application import service from buildbot.master import BuildMaster basedir = r'/home/mrowe/sites/build.webkit.org/buildbot' configfile = r'master.cfg' application = service.Application('buildmaster') BuildMaster(basedir, configfile).setServiceParent(application)