From: Daniel Earl Poirier
Date: Thu, 4 Nov 2010 22:46:32 +0000 (+0000)
Subject: Correct the instructions for stopping an Apache server
X-Git-Tag: 2.3.9~136
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5b1c13df76f770f1c30ee025b13320d0c1954791;p=apache
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/trunk@1031312 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/docs/manual/platform/windows.xml b/docs/manual/platform/windows.xml
index 7e91c6cd46..2011d46196 100644
--- a/docs/manual/platform/windows.xml
+++ b/docs/manual/platform/windows.xml
@@ -550,15 +550,19 @@
shortcut starts the service. If the Apache service is running
already, the shortcut doesn't do anything.
- You can tell a running Apache to stop by opening another console
+
If Apache is running as a service, you can tell it to stop by opening another console
window and entering:
httpd.exe -k shutdown
- This should be preferred over pressing Control-C because this
- lets Apache end any current operations and clean up gracefully.
+ 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.
+
+ But if the server is running in a console window, you can
+ only stop it by pressing Control-C in the same window.
You can also tell Apache to restart. This forces it to reread
the configuration file. Any operations in progress are allowed to
@@ -570,7 +574,7 @@
httpd.exe -k restart
-
in any other console window.
+ if the server is running as a service.
Note for people familiar with the Unix version of Apache:
these commands provide a Windows equivalent to kill -TERM