[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (9c1c671d18f9452d16c6535ccadd3442c8735092)

Vlad Glagolev scm at sourcemage.org
Sat Oct 23 09:39:00 EDT 2010


GIT changes to master grimoire by Vlad Glagolev <stealth at sourcemage.org>:

 http/apache22/HISTORY       |    3 +++
 http/apache22/init.d/apache |    4 +++-
 2 files changed, 6 insertions(+), 1 deletion(-)

New commits:
commit 9c1c671d18f9452d16c6535ccadd3442c8735092
Author: Vlad Glagolev <stealth at sourcemage.org>
Commit: Vlad Glagolev <stealth at sourcemage.org>

    apache22: added graceful reload function

diff --git a/http/apache22/HISTORY b/http/apache22/HISTORY
index 6d36728..8b29de3 100644
--- a/http/apache22/HISTORY
+++ b/http/apache22/HISTORY
@@ -1,3 +1,6 @@
+2010-10-23 Vlad Glagolev <stealth at sourcemage.org>
+	* init.d/apache: added graceful reload function
+
 2010-10-18 Ladislav Hagara <hgr at vabo.cz>
 	* DETAILS: 2.2.17
 
diff --git a/http/apache22/init.d/apache b/http/apache22/init.d/apache
index 3cabf23..df0f0c4 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
 }



More information about the SM-Commit mailing list