Skip to Content.
Please activate JavaScript in your web browser
List archive
[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (d0e1b0d1cbe9fe4e47525d3fa5274f9656092f32)
Chronological
Thread
<
Chronological
>
<
Thread
>
From
: Vlad Glagolev <scm AT sourcemage.org>
To
: sm-commit AT lists.ibiblio.org
Subject
: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (d0e1b0d1cbe9fe4e47525d3fa5274f9656092f32)
Date
: Fri, 17 Dec 2010 17:20:06 -0600
GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:
http/nginx/DETAILS | 1 +
http/nginx/HISTORY | 4 ++++
http/nginx/init.d/nginx | 11 +++++++++++
3 files changed, 16 insertions(+)
New commits:
commit d0e1b0d1cbe9fe4e47525d3fa5274f9656092f32
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>
nginx: added graceful reload
diff --git a/http/nginx/DETAILS b/http/nginx/DETAILS
index 816400e..60646e1 100755
--- a/http/nginx/DETAILS
+++ b/http/nginx/DETAILS
@@ -11,6 +11,7 @@ else
SOURCE_GPG=sysoev.gpg:$SOURCE2:UPSTREAM_KEY
SOURCE2_IGNORE=signature
fi
+ PATCHLEVEL=1
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_URL[0]=
http://sysoev.ru/$SPELL/$SOURCE
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
diff --git a/http/nginx/HISTORY b/http/nginx/HISTORY
index 4a53161..b4e84a2 100644
--- a/http/nginx/HISTORY
+++ b/http/nginx/HISTORY
@@ -1,3 +1,7 @@
+2010-12-18 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: PATCHLEVEL=1
+ * init.d/nginx: added graceful reload
+
2010-12-15 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: updated stable to 0.7.68
diff --git a/http/nginx/init.d/nginx b/http/nginx/init.d/nginx
index 61b77be..93ec2ac 100644
--- a/http/nginx/init.d/nginx
+++ b/http/nginx/init.d/nginx
@@ -6,4 +6,15 @@ ARGS="-c /etc/nginx/nginx.conf"
RUNLEVEL=3
NEEDS="+network +remote_fs"
+reload() {
+ echo "Gracefully reloading Nginx web server..."
+
+ if [[ `nginx -v 2>&1 | cut -d. -f2` == 6 ]]; then
+ kill -HUP "$PIDFILE"
+ else
+ $PROGRAM -s reload
+ fi
+ evaluate_retval
+}
+
. /etc/init.d/smgl_init
[SM-Commit] GIT changes to master grimoire by Vlad Glagolev (d0e1b0d1cbe9fe4e47525d3fa5274f9656092f32)
,
Vlad Glagolev, 12/17/2010
Archive powered by
MHonArc 2.6.24
.