mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-26 00:41:25 -06:00
Start the DS and KDC on boot
This commit is contained in:
parent
34b439e838
commit
400ced55eb
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user