Add basic support for running the logviewer daemon