"""Main endpoint for trespassed application.""" from trespassed.serial import SerialService, watchdog_service from trespassed.status import status_service from trespassed.web import WebService from twisted.application.service import Application application = Application("Trespassed") serial_service = SerialService() serial_service.setServiceParent(application) web_service = WebService("tcp:8000") web_service.setServiceParent(application) watchdog_service.setServiceParent(application) status_service.setServiceParent(application)