diff options
author | Karl MacMillan <kmacmillan@mentalrootkit.com> | 2007-07-31 17:12:26 -0400 |
---|---|---|
committer | Karl MacMillan <kmacmillan@mentalrootkit.com> | 2007-07-31 17:12:26 -0400 |
commit | cef59d76eb46c1af448a718bd018e192a0b41a78 (patch) | |
tree | 8c6e6ea34f80f96115cd4015a73aea895af45691 /ipa-server/ipa-install/ipa-server-install | |
parent | 66ee656155aa2cd8e1ae7445e94cdd918e5cb976 (diff) | |
download | freeipa-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-install | 6 |
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() |