Commit eeb128fc authored by Leonardo Arena's avatar Leonardo Arena

main/varnish: typo in init.d

parent f3166b37
......@@ -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"
......@@ -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 $?
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment