summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/dsinstance.py
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2010-12-04 15:42:14 -0500
committerSimo Sorce <ssorce@redhat.com>2010-12-10 12:28:38 -0500
commit2efc08a6fc8c0407ff2169e3ef7eed92eaaa6545 (patch)
treedfaed647e2746972026c0c134c7ce113c0e522f7 /ipaserver/install/dsinstance.py
parentded15c72fff4805e9a095c5a8f82b463603f5d1b (diff)
downloadfreeipa-2efc08a6fc8c0407ff2169e3ef7eed92eaaa6545.tar.gz
freeipa-2efc08a6fc8c0407ff2169e3ef7eed92eaaa6545.tar.xz
freeipa-2efc08a6fc8c0407ff2169e3ef7eed92eaaa6545.zip
Introduce ipa control script that reads configuration off ldap
This replace the former ipactl script, as well as replace the current way ipa components are started. Instead of enabling each service in the system init scripts, enable only the ipa script, and then let it start all components based on the configuration read from the LDAP tree. resolves: https://fedorahosted.org/freeipa/ticket/294
Diffstat (limited to 'ipaserver/install/dsinstance.py')
-rw-r--r--ipaserver/install/dsinstance.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/ipaserver/install/dsinstance.py b/ipaserver/install/dsinstance.py
index 03066984e..6fdc479ca 100644
--- a/ipaserver/install/dsinstance.py
+++ b/ipaserver/install/dsinstance.py
@@ -295,7 +295,10 @@ class DsInstance(service.Service):
def __enable(self):
self.backup_state("enabled", self.is_enabled())
- self.chkconfig_on()
+ # At the end of the installation ipa-server-install will enable the
+ # 'ipa' service wich takes care of starting/stopping dirsrv
+ # self.chkconfig_on()
+ self.chkconfig_off()
def __setup_sub_dict(self):
server_root = find_server_root()