daemon.pyΒΆ
daemon.py is the main entry point for the server.
When run, it does the following (in order):
- Sets up logging.
- Configures database.
- (optional) Initializes cache.
- (optional) Sets periodical calculations.
- Sets up the server interface.
- Starts listening for connections.