# HG changeset patch # User Goffi # Date 1579385572 -3600 # Node ID 38d763febed6827f749dd38277aa4f1c6879d99b # Parent 8efed1d47d9fe1e06be170f73bc0b795bf8c4645 android (service): fixed backend launch diff -r 8efed1d47d9f -r 38d763febed6 service/main.py --- a/service/main.py Sat Jan 18 23:12:52 2020 +0100 +++ b/service/main.py Sat Jan 18 23:12:52 2020 +0100 @@ -36,6 +36,10 @@ C.PLUGIN_EXT = "pyc" from sat.core import sat_main from twisted.internet import reactor +from twisted.application import app, service sat = sat_main.SAT() +application = service.Application("SàT backend") +sat.setServiceParent(application) +app.startApplication(application, None) reactor.run()