Commit 4946534a authored by Eric Covener's avatar Eric Covener
Browse files
Correct the instructions for stopping an Apache server
running in a Windows console.  Reported by jhannwong.
PR47325



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1441768 13f79535-47bb-0310-9956-ffa450edef68
parent 7f3ebb6f
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -545,15 +545,19 @@
    shortcut starts the service. If the Apache service is running
    already, the shortcut doesn't do anything.</p>

    <p>You can tell a running Apache to stop by opening another console
    <p>If Apache is running as a service, you can tell it to stop by opening another console
    window and entering:</p>

    <example>
      httpd.exe -k shutdown
    </example>

    <p>This should be preferred over pressing Control-C because this
    lets Apache end any current operations and clean up gracefully.</p>
    <p>Running as a service should be preferred over running in a
    console window because this lets Apache end any current operations
    and clean up gracefully.</p>

    <p>But if the server is running in a console window, you can
    only stop it by pressing Control-C in the same window.</p>

    <p>You can also tell Apache to restart. This forces it to reread
    the configuration file. Any operations in progress are allowed to
@@ -565,7 +569,7 @@
      httpd.exe -k restart
    </example>

    <p>in any other console window.</p>
    <p>if the server is running as a service.</p>

    <note>Note for people familiar with the Unix version of Apache:
    these commands provide a Windows equivalent to <code>kill -TERM