aboutsummaryrefslogtreecommitdiffstats
path: root/main/varnish/varnishd.initd
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/varnish/varnishd.initd
parentf3166b37956c87106d433d8314b2705f8efd0b91 (diff)
downloadaports-eeb128fccee19bc3921ef2d9054760a90709e359.tar.bz2
aports-eeb128fccee19bc3921ef2d9054760a90709e359.tar.xz
main/varnish: typo in init.d
Diffstat (limited to 'main/varnish/varnishd.initd')
-rwxr-xr-xmain/varnish/varnishd.initd4
1 files changed, 2 insertions, 2 deletions
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 $?