summaryrefslogtreecommitdiffstats
path: root/ipa-server/ipa-install/ipa-server-install
diff options
context:
space:
mode:
Diffstat (limited to 'ipa-server/ipa-install/ipa-server-install')
-rw-r--r--ipa-server/ipa-install/ipa-server-install4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipa-server/ipa-install/ipa-server-install b/ipa-server/ipa-install/ipa-server-install
index ca27c9b2a..7abcafd8f 100644
--- a/ipa-server/ipa-install/ipa-server-install
+++ b/ipa-server/ipa-install/ipa-server-install
@@ -34,7 +34,7 @@ import logging
from optparse import OptionParser
import ipaserver.dsinstance
import ipaserver.krbinstance
-import ipaserver.util.run as run
+from ipaserver.util import run
def parse_options():
parser = OptionParser(version=VERSION)
@@ -117,7 +117,7 @@ def main():
ds.restart()
# Restart apache
- run(["/sbin/server", "httpd", "restart"])
+ run(["/sbin/service", "httpd", "restart"])
return 0