~ahasenack/landscape-client/landscape-client-11.07.1.1-0ubuntu0.11.10.0

« back to all changes in this revision

Viewing changes to landscape/service.py

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Hasenack
  • Date: 2010-09-08 15:34:09 UTC
  • mto: This revision was merged to the branch mainline in revision 32.
  • Revision ID: james.westby@ubuntu.com-20100908153409-cuhirosnil6hk1f9
Tags: upstream-1.5.5
ImportĀ upstreamĀ versionĀ 1.5.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
        self.port = self.reactor.listen_unix(self.socket, self.factory)
46
46
 
47
47
    def stopService(self):
48
 
        self.port.stopListening()
 
48
        # We don't need to call port.stopListening(), because the reactor
 
49
        # shutdown sequence will do that for us.
49
50
        Service.stopService(self)
50
51
        logging.info("%s stopped with config %s" % (
51
52
            self.service_name.capitalize(), self.config.get_config_filename()))