summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVlad Glagolev2010-10-23 17:38:47 +0400
committerVlad Glagolev2010-10-23 17:38:47 +0400
commit9c1c671d18f9452d16c6535ccadd3442c8735092 (patch)
treea4c56431a036674606c7c117783d98e37398eb1e
parentbe6db0e27eb693d3451fe2d39fb537110ff3c46d (diff)
apache22: added graceful reload function
-rw-r--r--http/apache22/HISTORY3
-rwxr-xr-xhttp/apache22/init.d/apache4
2 files changed, 6 insertions, 1 deletions
diff --git a/http/apache22/HISTORY b/http/apache22/HISTORY
index 6d36728f98..8b29de3437 100644
--- a/http/apache22/HISTORY
+++ b/http/apache22/HISTORY
@@ -1,3 +1,6 @@
+2010-10-23 Vlad Glagolev <stealth@sourcemage.org>
+ * init.d/apache: added graceful reload function
+
2010-10-18 Ladislav Hagara <hgr@vabo.cz>
* DETAILS: 2.2.17
diff --git a/http/apache22/init.d/apache b/http/apache22/init.d/apache
index 3cabf2373c..df0f0c4786 100755
--- a/http/apache22/init.d/apache
+++ b/http/apache22/init.d/apache
@@ -49,5 +49,7 @@ status()
reload()
{
- run_func restart
+ echo "Gracefully reloading Apache web server..."
+ /usr/sbin/apachectl graceful
+ evaluate_retval
}