archive
/
actioner
Archived
1
Fork 0
This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
actioner/actioner/main.py

17 lines
310 B
Python

from multiprocessing import Process
from aiohttp.web import run_app as run_web_app
from actioner.web import get_server
def main():
server = get_server()
web_process = Process(target=run_web_app, args=(server,))
web_process.start()
web_process.join()
if __name__ == '__main__':
main()