summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrcritten@redhat.com <rcritten@redhat.com>2007-08-09 13:44:32 -0400
committerrcritten@redhat.com <rcritten@redhat.com>2007-08-09 13:44:32 -0400
commit400ced55ebc0016b81709c7d0359605531e0ef97 (patch)
tree338cbf991cc539a4de78a80ee34ec9d2759d2580
parent34b439e838c972e36103e07abd424584fdd12090 (diff)
downloadfreeipa-400ced55ebc0016b81709c7d0359605531e0ef97.tar.gz
freeipa-400ced55ebc0016b81709c7d0359605531e0ef97.tar.xz
freeipa-400ced55ebc0016b81709c7d0359605531e0ef97.zip
Start the DS and KDC on boot
-rw-r--r--ipa-server/ipa-install/ipa-server-install8
1 files changed, 7 insertions, 1 deletions
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")