From: bahner Date: Mon, 23 Oct 2006 12:12:07 +0000 (+0000) Subject: Preliminary LSB compliance in init-scripts X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=035a2db4de4e9103fbf445fc58bed436c7f33ddf;p=varnish Preliminary LSB compliance in init-scripts git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1206 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/debian/TODO b/varnish-cache/debian/TODO index 35312e81..70dc5dad 100644 --- a/varnish-cache/debian/TODO +++ b/varnish-cache/debian/TODO @@ -1,2 +1,3 @@ - Write helper script to create storage_file from defaults - possibly setup default logging +- get the 4. (advertising) clause BSD license removed from the source, if possible diff --git a/varnish-cache/debian/varnish.init b/varnish-cache/debian/varnish.init index ee7b8bc2..b4cff3d4 100644 --- a/varnish-cache/debian/varnish.init +++ b/varnish-cache/debian/varnish.init @@ -10,6 +10,21 @@ # Version: @(#)skeleton 1.9 26-Feb-2001 miquels@cistron.nl # +### BEGIN INIT INFO +# Provides: varnish +# Required-Start: $local_fs $network +# Required-Stop: $local_fs $network +# Should-Start: $remote_fs +# Should-Stop: $remote_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Start HTTPd 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 + NAME=varnish DESC="HTTPd accelerator" PATH=/sbin:/bin:/usr/sbin:/usr/bin