Commit 02e41f3e by madema

Update service

parent f7c3b733
...@@ -883,13 +883,6 @@ class AIX(Service): ...@@ -883,13 +883,6 @@ class AIX(Service):
def get_service_status(self): def get_service_status(self):
rc, stdout, stderr = self.execute_command("%s -s %s" % (self.lssrc_cmd, self.name))
if rc == 1:
self.running = False
elif rc == 0:
self.running = True
def get_service_status(self):
status = self.get_aix_src_status() status = self.get_aix_src_status()
# Only 'active' is considered properly running. Everything else is off # Only 'active' is considered properly running. Everything else is off
# or has some sort of problem. # or has some sort of problem.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment