Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (6da6c657655685fe2e8c2310154f78dcdd6009ab)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

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 (6da6c657655685fe2e8c2310154f78dcdd6009ab)
  • Date: Fri, 12 Dec 2014 10:48:40 -0600

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

http/nginx/DETAILS | 2 +-
http/nginx/HISTORY | 10 ++++++++--
http/nginx/INSTALL | 5 +++++
http/nginx/init.d/nginx | 2 ++
http/nginx/init.d/nginx.conf | 5 +++++
5 files changed, 21 insertions(+), 3 deletions(-)

New commits:
commit 6da6c657655685fe2e8c2310154f78dcdd6009ab
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

nginx: fixed ulimits tuning on PAM-less systems

diff --git a/http/nginx/DETAILS b/http/nginx/DETAILS
index 3bb0dfe..6096998 100755
--- a/http/nginx/DETAILS
+++ b/http/nginx/DETAILS
@@ -22,7 +22,7 @@ case "$NGINX_RELEASE" in
SECURITY_PATCH=4
;;
esac
- PATCHLEVEL=1
+ PATCHLEVEL=2
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE2=$SPELL-$VERSION.tar.gz.asc
SOURCE_URL[0]=http://nginx.org/download/$SOURCE
diff --git a/http/nginx/HISTORY b/http/nginx/HISTORY
index 0a19720..4647c39 100644
--- a/http/nginx/HISTORY
+++ b/http/nginx/HISTORY
@@ -1,5 +1,11 @@
-2014-08-19 Treeve Jelbert <treeve AT sourcemage.org>
- * DEPENDS: openssl => SSL
+2014-12-12 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: PATCHLEVEL++
+ * INSTALL: install nginx.conf
+ * init.d/nginx: source nginx file from sysconfig
+ * init.d/nginx.conf: added, to prepare nginx binary for various envs
+
+2014-08-19 Treeve Jelbert <treeve AT sourcemage.org>
+ * DEPENDS: openssl => SSL

2014-04-18 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: PATCHLEVEL=1
diff --git a/http/nginx/INSTALL b/http/nginx/INSTALL
index a6c2b16..ce1eaea 100755
--- a/http/nginx/INSTALL
+++ b/http/nginx/INSTALL
@@ -2,6 +2,11 @@ make_single &&
default_install &&
make_normal &&

+if [[ $INIT_INSTALLED ]]; then
+ install_config_file "$SPELL_DIRECTORY/init.d/nginx.conf" \
+ "$INSTALL_ROOT/etc/sysconfig/nginx"
+fi &&
+
if [[ ! -d "$TEMP_DIR" ]]; then
install -vm 775 -d -o nginx -g nginx "$TEMP_DIR"
fi
diff --git a/http/nginx/init.d/nginx b/http/nginx/init.d/nginx
index e6aebce..7deb505 100644
--- a/http/nginx/init.d/nginx
+++ b/http/nginx/init.d/nginx
@@ -6,6 +6,8 @@ ARGS="-c /etc/nginx/nginx.conf"
RUNLEVEL=3
NEEDS="+network +remote_fs"

+. /etc/sysconfig/nginx
+
reload() {
echo "Gracefully reloading Nginx web server..."

diff --git a/http/nginx/init.d/nginx.conf b/http/nginx/init.d/nginx.conf
new file mode 100644
index 0000000..cc6e107
--- /dev/null
+++ b/http/nginx/init.d/nginx.conf
@@ -0,0 +1,5 @@
+# This is a pre-configuration script for nginx mostly done for PAM-less
+# (Slackware-alike) systems where ulimits values are not catched from
+# /etc/limits system file and needed to be tuned manually on startup
+
+#ulimit -n 65536



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (6da6c657655685fe2e8c2310154f78dcdd6009ab), Vlad Glagolev, 12/12/2014

Archive powered by MHonArc 2.6.24.

Top of Page