baseimage-tutorial-framework/supervisor/tfw_server.py
2019-08-15 17:13:36 +02:00

12 lines
243 B
Python

from tornado.ioloop import IOLoop
from tfw.main import TFWServer, setup_logger, setup_signal_handlers
if __name__ == '__main__':
setup_logger(__file__)
TFWServer().listen()
setup_signal_handlers()
IOLoop.instance().start()