def _detect(self): """Run detection, set self.available True if the service is detected. """ self.influxd = detection.find_process_name('influxd') if self.influxd is not None: self.available = True
def _detect(self): """Run detection, set self.available True if the service is detected. """ if find_process_name('influxd') is not None: self.available = True
def _detect(self): """Run detection, set self.available True if the service is detected. """ if (find_process_name('vertica') is not None and find_process_name( 'spread') is not None): self.available = True
def _detect(self): """Run detection, set self.available True if the service is detected. """ if (find_process_name('vertica') is not None and find_process_name('spread') is not None): self.available = True