Logo Search packages:      
Sourcecode: ubuntuone-dev-tools version File versions  Download package

def ubuntuone::devtools::services::dbus::DBusRunner::stop_service (   self )
Stop our DBus session bus daemon.

Definition at line 105 of file dbus.py.

                          :
        """Stop our DBus session bus daemon."""
        try:
            del os.environ["DBUS_SESSION_BUS_ADDRESS"]
        except KeyError:
            pass
        os.kill(self.dbus_pid, signal.SIGKILL)
        self.running = False
        os.unlink(self.config_file)
        self.config_file = None

Generated by  Doxygen 1.6.0   Back to index