From 400ced55ebc0016b81709c7d0359605531e0ef97 Mon Sep 17 00:00:00 2001 From: "rcritten@redhat.com" Date: Thu, 9 Aug 2007 13:44:32 -0400 Subject: [PATCH] Start the DS and KDC on boot --- ipa-server/ipa-install/ipa-server-install | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ipa-server/ipa-install/ipa-server-install b/ipa-server/ipa-install/ipa-server-install index 2fa9182bc..8ba8425dc 100644 --- a/ipa-server/ipa-install/ipa-server-install +++ b/ipa-server/ipa-install/ipa-server-install @@ -119,9 +119,15 @@ def main(): # Restart apache run(["/sbin/service", "httpd", "restart"]) - # Set apache to be on at boot + # Set apache to start on boot run(["/sbin/chkconfig", "httpd", "on"]) + # Set fedora-ds to start on boot + run(["/sbin/chkconfig", "fedora-ds", "on"]) + + # Set the KDC to start on boot + run(["/sbin/chkconfig", "krb5kdc", "on"]) + # Create the config file fd = open("/etc/ipa/ipa.conf", "w") fd.write("[defaults]\n")