baseimage-tutorial-framework/supervisor/tfw_server.py
2018-06-29 22:53:44 +02:00

10 lines
201 B
Python

from tornado.ioloop import IOLoop
from tfw.networking import TFWServer
from tfw.config import TFWENV
if __name__ == '__main__':
TFWServer().listen(TFWENV.WEB_PORT)
IOLoop.instance().start()