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>
This commit is contained in:
1 parent
9161dcbbdc
commit
ff6c720026
1 file changed
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user