+++ /dev/null
-# $Id$
-
-EXTRA_DIST = \
- README.Debian \
- TODO \
- changelog \
- compat \
- control \
- copyright \
- dirs \
- docs \
- libvarnish0-dev.dirs \
- libvarnish0-dev.install \
- libvarnish0.dirs \
- libvarnish0.install \
- lintian-override \
- rules \
- varnish.default \
- varnish.dirs \
- varnish.examples \
- varnish.init \
- varnish.install \
- varnish.logrotate \
- varnish.manpages \
- varnish.postinst \
- varnish.postrm \
- varnish.varnishlog.init \
- watch
+++ /dev/null
-Important change for 1.1.1
-==========================
-
-Varnish now features use of ``-u'' and ``-g'' in the default
-configuration. If you have customized the defaults you may wish to
-make these changes yourself.
-
-GCC
-===
-Varnish requires a GCC-compiler compatible with the compiler used to
-build varnish with. This means GCC 4.1 on a standard Debian 4.0 system.
-
-Io. to be able to backport varnish however, I will remove the
-dependency on version 4.1 of the compiler and just require gcc, as
-varnish should work fine with GCC 3.3 and above.
-
-
-Standard ports
-==============
-
-I have configured varnish to simply put up an accelerator on port 6081
-pointing request at the local webserver. Varnish can then be
-administered via port 6082. You probably want to change these ;)
-
-Of course to gain actual value from installing varnish, you want to move
-varnishes listening port to port 80, and your webserver to 8080 or
-something.
-
-By setting varnish on port 6081 by default you will be able to take it
-for a spin right-out-of-the-box(tm).
-
-
-2006-10-12 Lars Bahner <bahner@debian.org>
+++ /dev/null
-varnish (1.2-0) unstable; urgency=low
-
- [ Stig Sandbeck Mathisen ]
- * New upstream release.
- * Check if varnishlog is running before attempting reload from
- logrotate postscript. (Closes: #462029)
-
- [ Fabio Tranchitella ]
- * debian/varnish.dirs: removed unused lintian overrides dir.
- * debian/rules: backup and restore of config.sub and config.guess to not
- include them into the diff.gz in case of multiple builds from the same
- working directory.
-
- -- Fabio Tranchitella <kobold@debian.org> Mon, 24 Mar 2008 08:30:02 +0100
-
-varnish (1.1.2) unstable; urgency=low
-
- * New upstream release
- * Renamed library and development packages to reflect sonames
-
- -- Stig Sandbeck Mathisen <ssm@fnord.no> Wed, 12 Sep 2007 16:05:22 +0200
-
-varnish (1.1.1-1) unstable; urgency=low
-
- [Lars Bahner]
- * New upstream release
- * User and Group id added to default DAEMON_OPTS
- * Added user and group creation to postinst
- * Added missing man pages
-
- [Stig Sandbeck Mathisen]
- * Set statedir to /var/lib
- * Removed -n switch from varnish defaults file and varnishlog init script.
- Use the default instance name instead.
-
- -- Stig Sandbeck Mathisen <ssm@linpro.no> Tue, 04 Sep 2007 12:27:09 +0200
-
-varnish (1.1-1) unstable; urgency=low
-
- * New upstream release
- * Split package into varnish, libvarnish and libvarnish-dev
-
- -- Stig Sandbeck Mathisen <ssm@linpro.no> Fri, 20 Jul 2007 14:37:36 +0200
-
-varnish (1.0.4-1) unstable; urgency=low
-
- * New upstream version (Closes: #424560)
- * Use the upstream default configuration file, renamed to default.vcl.
- Default template in /etc/default/varnish does not use this, but a
- commented-out alternative does.
- * Changed init script. Use lsb init library functions, move more defaults
- to /etc/default/varnish, to make init script simpler.
- * Changed postrm, /var/lib/varnish disappeared on upgrade, making varnish
- non-startable.
- * Added example vcl for zope and plone.
-
- -- ssm <ssm@linpro.no> Wed, 16 May 2007 13:50:08 +0200
-
-varnish (1.0.3-2) unstable; urgency=low
-
- * Added postrm to partially solve 400384
-
- -- Lars Bahner <bahner@debian.org> Tue, 27 Feb 2007 20:41:10 +0100
-
-varnish (1.0.3-1) unstable; urgency=low
-
- * new upstream release
- * set VARNISH_MAX_WORKER_THREADS to 2048 instead of INF.
- (closes: #412004)
-
- -- Lars Bahner <bahner@debian.org> Tue, 27 Feb 2007 20:16:38 +0100
-
-varnish (1.0.2-2) unstable; urgency=low
-
- * Preliminary LSB compliabnce in init-script
- * Lintian override
-
- -- Lars Bahner <bahner@debian.org> Mon, 23 Oct 2006 14:20:22 +0200
-
-varnish (1.0.2-1) unstable; urgency=low
-
- * New upstream release
-
- -- Lars Bahner <bahner@linpro.no> Thu, 19 Oct 2006 15:51:37 +0200
-
-varnish (1.0.2-1~svn20061012) unstable; urgency=low
-
- * Added README for Debian
- * svn-based source
- * Added target to create configure to build from pristine source
- * Added init-script and defaults
- * Moved backend storage to /var/lib/varnish/
-
- -- Lars Bahner <bahner@linpro.no> Fri, 13 Oct 2006 09:58:13 +0200
-
-varnish (1.0.1-3) unstable; urgency=low
-
- * Bumped automake dependency to automake1.9
-
- -- Lars Bahner <bahner@debian.org> Tue, 10 Oct 2006 15:00:39 +0200
-
-varnish (1.0.1-2) unstable; urgency=low
-
- * Removed wrong upstream author.
- * Added dependency on gcc-4.1 needed by varnish at runtime.
-
- -- Lars Bahner <bahner@debian.org> Fri, 6 Oct 2006 17:54:53 +0200
-
-varnish (1.0.1-1) unstable; urgency=low
-
- * Initial release (Closes: #382451)
-
- -- Lars Bahner <bahner@debian.org> Fri, 6 Oct 2006 16:26:57 +0200
-
+++ /dev/null
-Source: varnish
-Section: web
-Priority: optional
-Maintainer: Stig Sandbeck Mathisen <ssm@fnord.no>
-Uploaders: Lars Bahner <bahner@debian.org>, Fabio Tranchitella <kobold@debian.org>
-Build-Depends: debhelper (>= 5), autotools-dev, automake1.9, libtool, autoconf, libncurses-dev, xsltproc
-XS-Vcs-Browser: http://varnish.projects.linpro.no/browser/trunk/varnish-cache
-XS-Vcs-Svn: http://varnish.projects.linpro.no/svn/trunk/varnish-cache
-Standards-Version: 3.7.3
-
-Package: varnish
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, gcc ( >= 3.3), libc6-dev | libc-dev, adduser
-Description: A state-of-the-art, high-performance HTTP accelerator
- varnish is the server-side alternative to Squid, written primarily with
- speed in mind, and with a look to implementing full ESI-support in
- a future release.
- .
- The goal of the Varnish project is to develop a state-of-the-art,
- high-performance HTTP accelerator.
- .
- Varnish is targeted primarily at the FreeBSD 6 and Linux 2.6 platforms, and
- will take full advantage of the advanced I/O features offered by these
- operating systems.
-
-Package: libvarnish0
-Section: libs
-Replaces: libvarnish
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: Shared libraries for Varnish
- Shared libraries for the Varnish HTTP accelerator.
-
-Package: libvarnish0-dev
-Section: libdevel
-Replaces: libvarnish-dev
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, libvarnish0
-Description: Shared library for Varnish
- Development files for the Varnish library.
+++ /dev/null
-This package was debianized by Lars Bahner <bahner@debian.org> on
-Fri, 6 Oct 2006 16:26:57 +0200.
-
-It was pulled from the Subversion repository with
-svn co http://varnish.projects.linpro.no/svn/trunk
-
-Debianizations are an integral part of the main source for varnish,
-so the change for Debian are made before publication of releases,
-and are as such checked.
-
-Files are downloadable from the following URL
-http://sourceforge.net/project/showfiles.php?group_id=155816
-
-Copyright: 2006 Verdens Gang AS
- 2006 Linpro AS
-All rights reserved.
-
-License:
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions
-are met:
-1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
-THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
-FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-SUCH DAMAGE.
-
-The Debian packaging is (C) 2006, Lars Bahner <bahner@debian.org> and
-is licensed under the GPL version 2. The full text of which can be found
-in the file /usr/share/common-licenses/GPL-2 on this system.
+++ /dev/null
-usr/include
-usr/lib/*.a
-usr/lib/*.la
+++ /dev/null
-usr/lib/lib*.so.*
+++ /dev/null
-#!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-
-# These are used for cross-compiling and for saving the configure script
-# from having to guess our platform (since we know it already)
-DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-
-
-CFLAGS = -Wall -g
-
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
- CFLAGS += -O0
-else
- CFLAGS += -O2
-endif
-
-configure:
- ./autogen.sh
-
-config.status: configure
- dh_testdir
- # The boilerplate linker flags won't allow varnish to compile :(
- # There are circular dependencies in the varnish libraries, but
- # the core developers have OK'ed that we don't check.
- [ -r /usr/share/misc/config.sub ] && \
- cp -f /usr/share/misc/config.sub config.sub || true
- [ -r /usr/share/misc/config.guess ] && \
- cp -f /usr/share/misc/config.guess config.guess || true
- ./configure \
- --host=$(DEB_HOST_GNU_TYPE) \
- --build=$(DEB_BUILD_GNU_TYPE) \
- --prefix=/usr \
- --mandir=\$${prefix}/share/man \
- --infodir=\$${prefix}/share/info \
- CFLAGS="$(CFLAGS)" --localstatedir=/var/lib
-
-build: build-stamp
-
-build-stamp: config.status
- dh_testdir
- $(MAKE)
- touch $@
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp
- [ -f config.sub.orig ] && mv config.sub.orig config.sub || true
- [ -f config.guess.orig ] && mv config.sub.orig config.guess || true
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
- $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
- dh_install --sourcedir=$(CURDIR)/debian/tmp
- install -m 644 $(CURDIR)/etc/default.vcl $(CURDIR)/debian/varnish/etc/varnish/
- install -m 644 $(CURDIR)/debian/varnish.logrotate $(CURDIR)/debian/varnish/etc/logrotate.d/varnish
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
- dh_testdir
- dh_testroot
- dh_installchangelogs ChangeLog
- dh_installdocs
- dh_installinit
- dh_installinit --name=varnishlog
- dh_installman
- dh_installexamples
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
- dh_makeshlibs
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install
+++ /dev/null
-# This is a false positive, upstream Makefile removes config.* with "distclean"
-varnish source: configure-generated-file-in-source config.log
+++ /dev/null
-# Configuration file for varnish
-#
-# /etc/init.d/varnish expects the variable $DAEMON_OPTS to be set from this
-# shell script fragment.
-#
-
-# Maximum number of open files (for ulimit -n)
-NFILES=131072
-
-# Maximum locked memory size (for ulimit -l)
-# Used for locking the shared memory log in memory. If you increase log size,
-# you need to increase this number as well
-MEMLOCK=82000
-
-# Default varnish instance name is the local nodename. Can be overridden with
-# the -n switch, to have more instances on a single server.
-INSTANCE=$(uname -n)
-
-# Uncomment this to enable varnishlog. Please make sure you have
-# enough disk space for significant amounts of log data. To disable
-# varnishlog, set the variable to "0", "no", or leave it unset.
-# VARNISHLOG_ENABLED=1
-
-# This file contains 4 alternatives, please use only one.
-
-## Alternative 1, Minimal configuration, no VCL
-#
-# Listen on port 6081, administration on localhost:6082, and forward to
-# content server on localhost:8080. Use a fixed-size cache file.
-#
-DAEMON_OPTS="-a :6081 \
- -T localhost:6082 \
- -b localhost:8080 \
- -u varnish -g varnish \
- -s file,/var/lib/varnish/$INSTANCE/varnish_storage.bin,1G"
-
-
-## Alternative 2, Configuration with VCL
-#
-# Listen on port 6081, administration on localhost:6082, and forward to
-# one content server selected by the vcl file, based on the request. Use a
-# fixed-size cache file.
-#
-# DAEMON_OPTS="-a :6081 \
-# -T localhost:6082 \
-# -f /etc/varnish/default.vcl \
-# -s file,/var/lib/varnish/$INSTANCE/varnish_storage.bin,1G"
-
-
-## Alternative 3, Advanced configuration
-#
-# See varnishd(1) for more information.
-#
-# # Main configuration file. You probably want to change it :)
-# VARNISH_VCL_CONF=/etc/varnish/default.vcl
-#
-# # Default address and port to bind to
-# # Blank address means all IPv4 and IPv6 interfaces, otherwise specify
-# # a host name, an IPv4 dotted quad, or an IPv6 address in brackets.
-# VARNISH_LISTEN_ADDRESS=
-# VARNISH_LISTEN_PORT=6081
-#
-# # Telnet admin interface listen address and port
-# VARNISH_ADMIN_LISTEN_ADDRESS=127.0.0.1
-# VARNISH_ADMIN_LISTEN_PORT=6082
-#
-# # The minimum number of worker threads to start
-# VARNISH_MIN_THREADS=1
-#
-# # The Maximum number of worker threads to start
-# VARNISH_MAX_THREADS=1000
-#
-# # Idle timeout for worker threads
-# VARNISH_THREAD_TIMEOUT=120
-#
-# # Cache file location
-# VARNISH_STORAGE_FILE=/var/lib/varnish/$INSTANCE/varnish_storage.bin
-#
-# # Cache file size: in bytes, optionally using k / M / G / T suffix,
-# # or in percentage of available disk space using the % suffix.
-# VARNISH_STORAGE_SIZE=1G
-#
-# # Backend storage specification
-# VARNISH_STORAGE="file,${VARNISH_STORAGE_FILE},${VARNISH_STORAGE_SIZE}"
-#
-# # Default TTL used when the backend does not specify one
-# VARNISH_TTL=120
-#
-# # DAEMON_OPTS is used by the init script. If you add or remove options, make
-# # sure you update this section, too.
-# DAEMON_OPTS="-a ${VARNISH_LISTEN_ADDRESS}:${VARNISH_LISTEN_PORT} \
-# -f ${VARNISH_VCL_CONF} \
-# -T ${VARNISH_ADMIN_LISTEN_ADDRESS}:${VARNISH_ADMIN_LISTEN_PORT} \
-# -t ${VARNISH_TTL} \
-# -w ${VARNISH_MIN_THREADS},${VARNISH_MAX_THREADS},${VARNISH_THREAD_TIMEOUT} \
-# -s ${VARNISH_STORAGE}"
-#
-
-
-## Alternative 4, Do It Yourself
-#
-# DAEMON_OPTS=""
+++ /dev/null
-etc/varnish
-etc/logrotate.d
-usr/bin
-usr/sbin
-var/log
-var/log/varnish
-var/lib/varnish
+++ /dev/null
-README
-doc/*.html
+++ /dev/null
-etc/zope-plone.vcl
+++ /dev/null
-#! /bin/sh
-#
-# varnish Control the varnish HTTP accelerator
-
-### BEGIN INIT INFO
-# Provides: varnish
-# Required-Start: $local_fs $network
-# Required-Stop: $local_fs $network
-# Default-Start: 2 3 4 5
-# Default-Stop: 0 1 6
-# Short-Description: Start HTTP accelerator
-# Description: This script provides a server-side cache
-# to be run in front of a httpd and should
-# listen on port 80 on a properly configured
-# system
-### END INIT INFO
-
-# Source function library
-. /lib/lsb/init-functions
-
-NAME=varnishd
-DESC="HTTP accelerator"
-PATH=/sbin:/bin:/usr/sbin:/usr/bin
-DAEMON=/usr/sbin/varnishd
-PIDFILE=/var/run/$NAME.pid
-
-test -x $DAEMON || exit 0
-
-# Include varnish defaults if available
-if [ -f /etc/default/varnish ] ; then
- . /etc/default/varnish
-fi
-
-# Open files (usually 1024, which is way too small for varnish)
-ulimit -n ${NFILES:-131072}
-
-# Maxiumum locked memory size for shared memory log
-ulimit -l ${MEMLOCK:-82000}
-
-# If $DAEMON_OPTS is not set at all in /etc/default/varnish, use minimal useful
-# defaults (Backend at localhost:8080, a common place to put a locally
-# installed application server.)
-DAEMON_OPTS=${DAEMON_OPTS:--b localhost}
-
-case "$1" in
- start)
- output=$(/bin/tempfile -s.varnish)
- log_daemon_msg "Starting $DESC"
- log_progress_msg $NAME
- if start-stop-daemon \
- --start --quiet --pidfile ${PIDFILE} --exec ${DAEMON} -- \
- -P ${PIDFILE} ${DAEMON_OPTS} > ${output} 2>&1; then
- log_end_msg 0
- else
- log_end_msg 1
- cat $output
- exit 1
- fi
- rm $output
- ;;
- stop)
- log_daemon_msg "Stopping $DESC"
- log_progress_msg $NAME
- if start-stop-daemon \
- --stop --quiet --pidfile $PIDFILE --retry 10 \
- --exec $DAEMON; then
- log_end_msg 0
- else
- log_end_msg 1
- fi
- ;;
- restart|force-reload)
- $0 stop
- $0 start
- ;;
- *)
- log_success_msg "Usage: $0 {start|stop|restart|force-reload}"
- exit 1
- ;;
-esac
-
-exit 0
+++ /dev/null
-usr/bin
-usr/sbin
+++ /dev/null
-/var/log/varnish/varnish.log {
- daily
- rotate 7
- compress
- delaycompress
- postrotate
- if /usr/bin/pgrep -P 1 varnishlog >/dev/null; then
- /usr/sbin/invoke-rc.d varnishlog reload > /dev/null
- fi
- endscript
-}
+++ /dev/null
-bin/varnishncsa/varnishncsa.1
-bin/varnishhist/varnishhist.1
-bin/varnishstat/varnishstat.1
-bin/varnishreplay/varnishreplay.1
-bin/varnishadm/varnishadm.1
-bin/varnishlog/varnishlog.1
-bin/varnishtop/varnishtop.1
-bin/varnishd/varnishd.1
-man/vcl.7
+++ /dev/null
-#!/bin/sh
-
-varnish_setup_user() {
- if ! id varnish > /dev/null 2>&1 ; then
- adduser --system --no-create-home --group varnish 2>&1 > /dev/null || exit 78
- fi
-}
-varnish_create_storagedir() {
- install -o varnish -g varnish -d /var/lib/varnish/$(uname -n) || exit 78
-}
-
-varnish_setup_user
-varnish_create_storagedir
-
-#DEBHELPER#
+++ /dev/null
-#! /bin/sh -e
-
-set -e
-
-case "$1" in
- upgrade)
- ;;
-
- remove|failed-upgrade|abort-install|abort-upgrade|disappear)
-
- if test -e /var/log/varnish ; then
-
- rm -rf /var/log/varnish 2>&1 > /dev/null || exit 78
-
- fi
-
- if test -e /var/lib/varnish; then
-
- rm -rf /var/lib/varnish 2>&1 > /dev/null || exit 78
- fi
-
- ;;
-
- purge)
-
- if test -e /var/log/varnish; then
-
- rm -rf /var/log/varnish 2>&1 > /dev/null || exit 78
-
- fi
-
- if test -e /var/lib/varnish; then
-
- rm -rf /var/lib/varnish 2>&1 > /dev/null || exit 78
- fi
-
- ;;
-
- *)
- echo "postrm called with unknown argument \`$1'" >&2
- exit 64
-
-esac
-
-#DEBHELPER#
-
-exit 0
+++ /dev/null
-#! /bin/sh
-#
-# varnish Control the varnish HTTP accelerator
-
-### BEGIN INIT INFO
-# Provides: varnishlog
-# Required-Start: $local_fs $network
-# Required-Stop: $local_fs $network
-# Default-Start: 2 3 4 5
-# Default-Stop: 0 1 6
-# Short-Description: Start HTTP accelerator log daemon
-# Description: This script provides logging for varnish
-### END INIT INFO
-
-# Source function library
-. /lib/lsb/init-functions
-
-NAME=varnishlog
-DESC="HTTP accelerator log deamon"
-PATH=/sbin:/bin:/usr/sbin:/usr/bin
-DAEMON=/usr/bin/$NAME
-PIDFILE=/var/run/$NAME.pid
-LOGFILE=/var/log/varnish/varnish.log
-
-# Include varnish defaults if available
-if [ -f /etc/default/varnish ] ; then
- . /etc/default/varnish
-fi
-
-# If unset, or set to "0" or "no", exit
-if [ -z "${VARNISHLOG_ENABLED}" -o "${VARNISHLOG_ENABLED}" == "0" \
- -o "${VARNISHLOG_ENABLED}" == "no" ]; then
- exit 0;
-fi
-
-test -x $DAEMON || exit 0
-
-DAEMON_OPTS="-a -w ${LOGFILE} -D -P $PIDFILE"
-
-case "$1" in
- start)
- output=$(/bin/tempfile -s.varnish)
- log_daemon_msg "Starting $DESC"
- log_progress_msg $NAME
- if start-stop-daemon \
- --start --quiet --pidfile ${PIDFILE} --exec ${DAEMON} -- \
- ${DAEMON_OPTS} > ${output} 2>&1; then
- log_end_msg 0
- else
- log_end_msg 1
- cat $output
- exit 1
- fi
- rm $output
- ;;
- stop)
- log_daemon_msg "Stopping $DESC"
- log_progress_msg $NAME
- if start-stop-daemon \
- --stop --quiet --pidfile $PIDFILE --retry 10 \
- --exec $DAEMON; then
- log_end_msg 0
- else
- log_end_msg 1
- fi
- ;;
- reload)
- log_daemon_msg "Reloading $DESC"
- log_progress_msg $NAME
- if kill -HUP $(cat $PIDFILE) >/dev/null 2>&1; then
- log_end_msg 0
- else
- log_end_msg 1
- exit 1
- fi
- ;;
- restart|force-reload)
- $0 stop
- $0 start
- ;;
- *)
- log_success_msg "Usage: $0 {start|stop|restart|force-reload|reload}"
- exit 1
- ;;
-esac
-
-exit 0
+++ /dev/null
-version=3
-
-# New versions of Varnish are available at SourceForge
-http://sf.net/varnish/varnish-(.*)\.tar\.gz