summaryrefslogtreecommitdiffstats
path: root/install/restart_scripts/restart_httpd
diff options
context:
space:
mode:
Diffstat (limited to 'install/restart_scripts/restart_httpd')
-rw-r--r--install/restart_scripts/restart_httpd3
1 files changed, 2 insertions, 1 deletions
diff --git a/install/restart_scripts/restart_httpd b/install/restart_scripts/restart_httpd
index 98337bc85..e8ff72824 100644
--- a/install/restart_scripts/restart_httpd
+++ b/install/restart_scripts/restart_httpd
@@ -22,12 +22,13 @@
import syslog
import traceback
from ipapython import services as ipaservices
+from ipaplatform import services
def main():
syslog.syslog(syslog.LOG_NOTICE, 'certmonger restarted httpd')
try:
- ipaservices.knownservices.httpd.restart()
+ services.knownservices.httpd.restart()
except Exception, e:
syslog.syslog(syslog.LOG_ERR, "Cannot restart httpd: %s" % str(e))