]> granicus.if.org Git - apache/commitdiff
Correct the instructions for stopping an Apache server
authorDaniel Earl Poirier <poirier@apache.org>
Thu, 4 Nov 2010 22:46:32 +0000 (22:46 +0000)
committerDaniel Earl Poirier <poirier@apache.org>
Thu, 4 Nov 2010 22:46:32 +0000 (22:46 +0000)
running in a Windows console.  Reported by jhannwong.
PR47325

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1031312 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/platform/windows.xml

index 7e91c6cd46ea8b54cff9648fdea38bae5ed23c96..2011d4619639824e06fa3e43346b023f77d5edad 100644 (file)
     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
       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