diff options
author | rcritten@redhat.com <rcritten@redhat.com> | 2007-08-09 13:44:32 -0400 |
---|---|---|
committer | rcritten@redhat.com <rcritten@redhat.com> | 2007-08-09 13:44:32 -0400 |
commit | 400ced55ebc0016b81709c7d0359605531e0ef97 (patch) | |
tree | 338cbf991cc539a4de78a80ee34ec9d2759d2580 /ipa-server/ipa-install/ipa-server-install | |
parent | 34b439e838c972e36103e07abd424584fdd12090 (diff) | |
download | freeipa-400ced55ebc0016b81709c7d0359605531e0ef97.tar.gz freeipa-400ced55ebc0016b81709c7d0359605531e0ef97.tar.xz freeipa-400ced55ebc0016b81709c7d0359605531e0ef97.zip |
Start the DS and KDC on boot
Diffstat (limited to 'ipa-server/ipa-install/ipa-server-install')
-rw-r--r-- | ipa-server/ipa-install/ipa-server-install | 8 |
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") |