baseimage-tutorial-framework/supervisor/tfw_server.py

11 lines
207 B
Python
Raw Normal View History

2018-06-29 20:53:44 +00:00
from tornado.ioloop import IOLoop
2019-06-18 16:43:02 +00:00
from tfw.config.log import TFWLog
2019-05-27 12:09:13 +00:00
from tfw.server import TFWServer
2018-06-29 20:53:44 +00:00
if __name__ == '__main__':
2019-06-18 16:43:02 +00:00
TFWLog().start()
TFWServer().listen()
2018-06-29 20:53:44 +00:00
IOLoop.instance().start()