diff options
author | Mark McLoughlin <markmc@redhat.com> | 2008-01-11 10:36:25 +0000 |
---|---|---|
committer | Mark McLoughlin <markmc@redhat.com> | 2008-01-11 10:36:25 +0000 |
commit | ff6c720026045576598ff7d955f3ccb2bf0aadac (patch) | |
tree | c71878915743ad09f5b47022d425987890c1913d /ipa-server/ipaserver | |
parent | 9161dcbbdc0d638c1f61e0090f8956bb7c4ad082 (diff) | |
download | freeipa-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.py | 2 |
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: |