Replace Flask built-in WSGI server with gunicorn (#2158)

This commit is contained in:
Steve Hay
2022-09-17 08:03:16 -04:00
committed by GitHub
parent 7cda439c80
commit 3fd2e3efa9
4 changed files with 18 additions and 16 deletions
+7
View File
@@ -0,0 +1,7 @@
from daemon import app
import auth, utils
app.logger.addHandler(utils.create_syslog_handler())
if __name__ == "__main__":
app.run(port=10222)