syncplay/syncplayServer.py

18 lines
388 B
Python
Raw Normal View History

2012-12-29 11:47:02 +00:00
#!/usr/bin/env python
2012-10-12 16:37:12 +00:00
#coding:utf8
2013-12-18 06:33:39 +00:00
import site
# libpath
2012-10-12 16:37:12 +00:00
from twisted.internet import reactor
from syncplay.server import SyncFactory, ConfigurationGetter
if __name__ == '__main__':
argsGetter = ConfigurationGetter()
args = argsGetter.getConfiguration()
reactor.listenTCP(int(args.port), SyncFactory(args.password, args.motd_file, args.isolate_rooms))
reactor.run()