Remove an invalid instance name passed to dirsrv service so that
it is correctly stopped.

https://fedorahosted.org/freeipa/ticket/1800

>From b2e5ba49e22509327bcc521370c11d1cbb9d8de4 Mon Sep 17 00:00:00 2001
From: Martin Kosek <mko...@redhat.com>
Date: Tue, 20 Sep 2011 10:11:35 +0200
Subject: [PATCH] ipactl does not stop dirsrv

Remove an invalid instance name passed to dirsrv service so that
it is correctly stopped.

https://fedorahosted.org/freeipa/ticket/1800
---
 install/tools/ipactl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/install/tools/ipactl b/install/tools/ipactl
index cab11c94baaacfd6dfec0848734c51f99894d2e6..63e69ec590e9f429a72123e874c9e72fb53e62b1 100755
--- a/install/tools/ipactl
+++ b/install/tools/ipactl
@@ -247,7 +247,7 @@ def ipa_stop(options):
 
     try:
         print "Stopping Directory Service"
-        dirsrv.stop('dirsrv', capture_output=False)
+        dirsrv.stop(capture_output=False)
     except:
         raise IpactlError("Failed to stop Directory Service")
 
-- 
1.7.6

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to