What's the difference between apachectl -k graceful and service httpd restart?

Solution Unverified - Updated -

Issue

  • Both the command "apachectl r-k graceful" and "service httpd restart" can restart the apache service. What's the difference between them?

Environment

  • Red Hat Enterprise Linux All Versions

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.