You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
950 B

#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 2010 Maurizio Porrato <>
# See LICENSE.txt for copyright info
from twisted.internet import reactor
from frn.protocol.manager import FRNManagerServer, FRNManagerServerFactory
from twisted.enterprise.adbapi import ConnectionPool
from frn.manager.dummy import DummyManager
from frn.manager.remote import RemoteManager
from frn.user import FRNUser
from twisted.python import log
if __name__ == '__main__':
import sys
def standardManagerFactory():
log.msg("Building Manager")
return RemoteManager(reactor)
reactor.listenTCP(10025, FRNManagerServerFactory(
# DatabaseUserStore(
# ConnectionPool("sqlite3", "frn_users.sqlite3",
# check_same_thread=False)),
# DummyManager()
# vim: set et ai sw=4 ts=4 sts=4: