[arch-commits] Commit in varnish/trunk (PKGBUILD varnish.conf.d varnish.service)
Dave Reisner
dreisner at archlinux.org
Wed Aug 22 17:10:41 UTC 2012
Date: Wednesday, August 22, 2012 @ 13:10:40
Author: dreisner
Revision: 165519
upgpkg: varnish 3.0.3-2
- rebuild for i686 failure
- fixup rc.d and service units to specify a config file rather than a backend
this makes varnish actually compile a VCL and enable caching at startup rather
than sitting around with its hands in its pockets being a really lame reverse
proxy.
Modified:
varnish/trunk/PKGBUILD
varnish/trunk/varnish.conf.d
varnish/trunk/varnish.service
-----------------+
PKGBUILD | 6 +++---
varnish.conf.d | 6 +++---
varnish.service | 2 +-
3 files changed, 7 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-08-22 01:47:49 UTC (rev 165518)
+++ PKGBUILD 2012-08-22 17:10:40 UTC (rev 165519)
@@ -6,7 +6,7 @@
pkgname=varnish
pkgver=3.0.3
-pkgrel=1
+pkgrel=2
pkgdesc="High-performance HTTP accelerator"
arch=('i686' 'x86_64')
url="http://www.varnish-cache.org/"
@@ -22,10 +22,10 @@
varnish-vcl-reload
varnish.service)
md5sums=('714310c83fdbd2061d897dacd3f63d8b'
- 'edd1237d097d72173d9772754335890c'
+ '3b563d2d9bd74a819fdb116d69d022f0'
'40b4c83b3ad225ed2f4bd7e677fe41a2'
'03196dee7fc68e75069393d52c370762'
- '45cc1fd57aa2ffc22d6af62f9eedc842')
+ '1adf5282d111a9e00e99786045451016')
build() {
cd "$pkgname-$pkgver"
Modified: varnish.conf.d
===================================================================
--- varnish.conf.d 2012-08-22 01:47:49 UTC (rev 165518)
+++ varnish.conf.d 2012-08-22 17:10:40 UTC (rev 165519)
@@ -2,10 +2,10 @@
# Command line options to varnishd
#
+VARNISH_CFG="/etc/varnish/default.vcl"
+
VARNISHD_OPTS="-a 0.0.0.0:80 \
- -b localhost:8080 \
+ -f $VARNISH_CFG \
-T localhost:6082 \
-s malloc,64M
-u nobody -g nobody"
-
-VARNISH_CFG="/etc/varnish/default.vcl"
Modified: varnish.service
===================================================================
--- varnish.service 2012-08-22 01:47:49 UTC (rev 165518)
+++ varnish.service 2012-08-22 17:10:40 UTC (rev 165519)
@@ -3,7 +3,7 @@
After=network.target
[Service]
-ExecStart=/usr/sbin/varnishd -a 0.0.0.0:80 -b localhost:8080 -T localhost:6082 -s malloc,64M -u nobody -g nobody -F
+ExecStart=/usr/sbin/varnishd -a 0.0.0.0:80 -f /etc/varnish/default.vcl -T localhost:6082 -s malloc,64M -u nobody -g nobody -F
ExecReload=/usr/bin/varnish-vcl-reload
[Install]
More information about the arch-commits
mailing list