Skip to Content.
Sympa Menu

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

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 (e0a669d70889fad746ffbff054691af7905dcb3c)
  • Date: Mon, 30 Nov 2015 10:38:06 +0000

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

http/varnish/DETAILS | 1 +
http/varnish/HISTORY | 6 ++++++
http/varnish/init.d/varnish.conf | 6 ++++--
http/varnish/init.d/varnishncsa | 11 +++++++++++
4 files changed, 22 insertions(+), 2 deletions(-)

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

varnish: added support for varnishncsa

diff --git a/http/varnish/DETAILS b/http/varnish/DETAILS
index ee578fc..6215146 100755
--- a/http/varnish/DETAILS
+++ b/http/varnish/DETAILS
@@ -1,5 +1,6 @@
SPELL=varnish
VERSION=4.0.3
+ PATCHLEVEL=1
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_URL[0]=http://repo.varnish-cache.org/source/$SOURCE

SOURCE_HASH=sha512:db7bb141afd4617ac95573983dc30591b0eb9bc1af06df1094f2c1eeac539da936afb4a239d2f446d3c3a51b88a781b7f9f6d9a0b2028eaf0e7049ea2159d883
diff --git a/http/varnish/HISTORY b/http/varnish/HISTORY
index 3ff5a74..f341372 100644
--- a/http/varnish/HISTORY
+++ b/http/varnish/HISTORY
@@ -1,3 +1,9 @@
+2015-11-30 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: PATCHLEVEL=1
+ * init.d/varnishncsa: added, to run varnishncsa logger
+ * init.d/varnish.conf: use VARNISHNCSA_OPTS, added sane defaults for
+ varnishd
+
2015-11-25 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: updated spell to 4.0.3

diff --git a/http/varnish/init.d/varnish.conf
b/http/varnish/init.d/varnish.conf
index 08a16d0..6bb9fa5 100644
--- a/http/varnish/init.d/varnish.conf
+++ b/http/varnish/init.d/varnish.conf
@@ -1,3 +1,5 @@
-# For arguments and description see varnishd(1)
+# For arguments and description see varnishd(1) and varnishncsa(1)

-VARNISHD_OPTS=""
+VARNISHD_OPTS="-a 127.0.0.1:8080"
+
+VARNISHNCSA_OPTS="-a -w /var/log/varnish/ncsa.log"
diff --git a/http/varnish/init.d/varnishncsa b/http/varnish/init.d/varnishncsa
new file mode 100755
index 0000000..07ad82b
--- /dev/null
+++ b/http/varnish/init.d/varnishncsa
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+. /etc/sysconfig/varnish
+
+PROGRAM=/usr/bin/varnishncsa
+PIDFILE=/var/run/varnishncsa.pid
+ARGS="-D -P $PIDFILE $VARNISHNCSA_OPTS"
+RUNLEVEL=3
+NEEDS="varnish"
+
+. /etc/init.d/smgl_init



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (e0a669d70889fad746ffbff054691af7905dcb3c), Vlad Glagolev, 11/30/2015

Archive powered by MHonArc 2.6.24.

Top of Page