* Ensure the log directory exists with openrc * Add a port setting to configure the port the agent listens on * Switch to RealDictCursor * Fix type for connection timeout