summaryrefslogtreecommitdiffstats
path: root/ipa-server/ipa-install/ipa-server-install
diff options
context:
space:
mode:
authorKarl MacMillan <kmacmillan@mentalrootkit.com>2007-07-31 17:12:26 -0400
committerKarl MacMillan <kmacmillan@mentalrootkit.com>2007-07-31 17:12:26 -0400
commitcef59d76eb46c1af448a718bd018e192a0b41a78 (patch)
tree8c6e6ea34f80f96115cd4015a73aea895af45691 /ipa-server/ipa-install/ipa-server-install
parent66ee656155aa2cd8e1ae7445e94cdd918e5cb976 (diff)
downloadfreeipa-cef59d76eb46c1af448a718bd018e192a0b41a78.tar.gz
freeipa-cef59d76eb46c1af448a718bd018e192a0b41a78.tar.xz
freeipa-cef59d76eb46c1af448a718bd018e192a0b41a78.zip
Minor fix to adduser.
Make ipa-server-install restart htppd
Diffstat (limited to 'ipa-server/ipa-install/ipa-server-install')
-rw-r--r--ipa-server/ipa-install/ipa-server-install6
1 files changed, 5 insertions, 1 deletions
diff --git a/ipa-server/ipa-install/ipa-server-install b/ipa-server/ipa-install/ipa-server-install
index 62a2a607d..ca27c9b2a 100644
--- a/ipa-server/ipa-install/ipa-server-install
+++ b/ipa-server/ipa-install/ipa-server-install
@@ -34,6 +34,7 @@ import logging
from optparse import OptionParser
import ipaserver.dsinstance
import ipaserver.krbinstance
+import ipaserver.util.run as run
def parse_options():
parser = OptionParser(version=VERSION)
@@ -112,9 +113,12 @@ def main():
krb.create_instance(options.ds_user, options.realm_name, host_name,
options.password, options.master_password)
- #restart ds after the krb instance have add the sasl map
+ # Restart ds after the krb instance have add the sasl map
ds.restart()
+ # Restart apache
+ run(["/sbin/server", "httpd", "restart"])
+
return 0
main()