Use dbus-launch with the --exit-with-session. dbus not exiting still not fully solved.
This commit is contained in:
@@ -1,14 +1,10 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
import logging
|
||||
import sugar.env
|
||||
from PresenceService import PresenceService
|
||||
import sugar.logger
|
||||
|
||||
# FIXME this looks like duplicated
|
||||
level = sugar.env.get_logging_level()
|
||||
if level == 'debug':
|
||||
logging.basicConfig(level=logging.DEBUG,
|
||||
format='%(levelname)s %(message)s')
|
||||
sugar.logger.start('PresenceService')
|
||||
|
||||
logging.info('Starting presence service')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user