aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2012-06-15 08:43:20 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2012-06-15 08:43:20 +0000
commiteeb128fccee19bc3921ef2d9054760a90709e359 (patch)
treece820aa684aa177e6c2db0a8abc7cf4eb4087a28 /main
parentf3166b37956c87106d433d8314b2705f8efd0b91 (diff)
downloadaports-eeb128fccee19bc3921ef2d9054760a90709e359.tar.bz2
aports-eeb128fccee19bc3921ef2d9054760a90709e359.tar.xz
main/varnish: typo in init.d
Diffstat (limited to 'main')
-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 0ac8b3c520..2e526d8ce0 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 2ed5b751d4..a10e219a8e 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 $?