From ff6c720026045576598ff7d955f3ccb2bf0aadac Mon Sep 17 00:00:00 2001 From: Mark McLoughlin Date: Fri, 11 Jan 2008 10:36:25 +0000 Subject: Use service.py helpers In dsinstance.py, there's one place we could use the service.py helpers where we don't currently. Signed-off-by: Mark McLoughlin --- ipa-server/ipaserver/dsinstance.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipa-server/ipaserver') diff --git a/ipa-server/ipaserver/dsinstance.py b/ipa-server/ipaserver/dsinstance.py index 91bdd1bd0..0de891fc6 100644 --- a/ipa-server/ipaserver/dsinstance.py +++ b/ipa-server/ipaserver/dsinstance.py @@ -80,7 +80,7 @@ def check_existing_installation(): sys.exit(1) try: - ipautil.run(["/sbin/service", "dirsrv", "stop"]) + service.stop("dirsrv") except: pass for d in dirs: -- cgit