mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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:
@@ -80,7 +80,7 @@ def check_existing_installation():
|
|||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
ipautil.run(["/sbin/service", "dirsrv", "stop"])
|
service.stop("dirsrv")
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
for d in dirs:
|
for d in dirs:
|
||||||
|
|||||||
Reference in New Issue
Block a user