summaryrefslogtreecommitdiffstats
path: root/ipa-server/ipaserver
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2008-01-11 10:36:25 +0000
committerMark McLoughlin <markmc@redhat.com>2008-01-11 10:36:25 +0000
commitff6c720026045576598ff7d955f3ccb2bf0aadac (patch)
treec71878915743ad09f5b47022d425987890c1913d /ipa-server/ipaserver
parent9161dcbbdc0d638c1f61e0090f8956bb7c4ad082 (diff)
downloadfreeipa-ff6c720026045576598ff7d955f3ccb2bf0aadac.tar.gz
freeipa-ff6c720026045576598ff7d955f3ccb2bf0aadac.tar.xz
freeipa-ff6c720026045576598ff7d955f3ccb2bf0aadac.zip
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 <markmc@redhat.com>
Diffstat (limited to 'ipa-server/ipaserver')
-rw-r--r--ipa-server/ipaserver/dsinstance.py2
1 files changed, 1 insertions, 1 deletions
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: