test server
This commit is contained in:
parent
c16560cf99
commit
3a6420eef1
1
main.py
1
main.py
@ -10,6 +10,7 @@ class CdnServerDaemon(Daemon):
|
||||
|
||||
# Press the green button in the gutter to run the script.
|
||||
if __name__ == '__main__':
|
||||
# uvicorn.run("server:app", port=5000, log_level="info")
|
||||
with CdnServerDaemon('/tmp/daemon-cdn-server.pid', error_log_file='errlog.txt') as daemon:
|
||||
daemon.process_command()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user