summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/varnish/APKBUILD4
-rwxr-xr-xmain/varnish/varnishd.initd4
2 files changed, 4 insertions, 4 deletions
diff --git a/main/varnish/APKBUILD b/main/varnish/APKBUILD
index 0ac8b3c52..2e526d8ce 100644
--- a/main/varnish/APKBUILD
+++ b/main/varnish/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=varnish
pkgver=3.0.2
-pkgrel=5
+pkgrel=6
pkgdesc="High-performance HTTP accelerator"
url="http://www.varnish-cache.org/"
arch="all"
@@ -60,6 +60,6 @@ libs() {
}
md5sums="c8eae0aabbe66b6daabdf3a1f58cd47a varnish-3.0.2.tar.gz
-78f4d4692757dec0d86987253d6b2e29 varnishd.initd
+7f80c6e44d9c8665478f3e500c5768ab varnishd.initd
69869d23bacd4e3aaf060d1fedb79ac6 varnishd.confd
a6cb8a43c9465699cf956dc992998225 varnishd.logrotate"
diff --git a/main/varnish/varnishd.initd b/main/varnish/varnishd.initd
index 2ed5b751d..a10e219a8 100755
--- a/main/varnish/varnishd.initd
+++ b/main/varnish/varnishd.initd
@@ -3,8 +3,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-servers/varnish/files/varnishd.initd,v 1.7 2009/08/30 06:28:07 hollow Exp $
-extra_command=reload
-NOW=`date +%s`
+extra_commands=reload
depend() {
need net
@@ -38,6 +37,7 @@ stop() {
reload() {
ebegin "Reloading varnish"
+ NOW=`date +%s`
/usr/bin/varnishadm -T $ADMINHOSTPORT vcl.load reload$NOW $CFG_FILE
/usr/bin/varnishadm -T $ADMINHOSTPORT vcl.use reload$NOW $CFG_FILE
eend $?