def startService(self):
        if self.graphite_host and self.graphite_port and self.protocol:
            self._task = task.LoopingCall(self.write)
            self._task.start(60.0) #graphite only cares about minutely precision
            Service.startService(self)
        else:
            self.disownServiceParent() #effectively self destruct
            global service
            service = None
            raise AssertionError('%s is not configured' % (SERVICENAME,))
dataset/ETHPy150Open OrbitzWorldwide/droned/droned/services/graphite.py/Graphite.startService/original