summaryrefslogtreecommitdiffstats
path: root/src/lib/Client/Tools/RcUpdate.py
diff options
context:
space:
mode:
authorSol Jerome <solj@ices.utexas.edu>2009-04-01 18:28:06 +0000
committerSol Jerome <solj@ices.utexas.edu>2009-04-01 18:28:06 +0000
commit3eac976378f28ff86ffe5a6c9cdcbc9acf000b6d (patch)
tree6ebaae18f5357df876864f810b63ec275a0844cb /src/lib/Client/Tools/RcUpdate.py
parentc10e96ca5fa8f54cef51234e012f7228348f9de3 (diff)
downloadbcfg2-3eac976378f28ff86ffe5a6c9cdcbc9acf000b6d.tar.gz
bcfg2-3eac976378f28ff86ffe5a6c9cdcbc9acf000b6d.tar.bz2
bcfg2-3eac976378f28ff86ffe5a6c9cdcbc9acf000b6d.zip
Update RcUpdate tool driver to catch all services
Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5148 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Client/Tools/RcUpdate.py')
-rw-r--r--src/lib/Client/Tools/RcUpdate.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Client/Tools/RcUpdate.py b/src/lib/Client/Tools/RcUpdate.py
index f0eec1bfe..c230544fe 100644
--- a/src/lib/Client/Tools/RcUpdate.py
+++ b/src/lib/Client/Tools/RcUpdate.py
@@ -23,7 +23,7 @@ class RcUpdate(Bcfg2.Client.Tools.SvcTool):
# ...but as i can't figure out a way to
# test that right now, i'll do the one
# that works in python's interactive interpreter.
- rc = commands.getoutput('/bin/rc-status | grep %s | grep started' % \
+ rc = commands.getoutput('/bin/rc-status -s | grep %s | grep started' % \
entry.get('name'))
status = len(rc) > 0
@@ -59,7 +59,7 @@ class RcUpdate(Bcfg2.Client.Tools.SvcTool):
def FindExtra(self):
'''Locate extra rc-update Services'''
allsrv = [line.split()[0] for line in \
- self.cmd.run("/bin/rc-status | grep started")[1]]
+ self.cmd.run("/bin/rc-status -s | grep started")[1]]
self.logger.debug('Found active services:')
self.logger.debug(allsrv)
specified = [srv.get('name') for srv in self.getSupportedEntries()]