예제 #1
0
    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
예제 #2
0
    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
예제 #3
0
 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
예제 #4
0
 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