From: Fabian Keil <fk@fabiankeil.de>
Date: Sat, 26 Jan 2013 13:34:46 +0000 (+0000)
Subject: Add a LSB info block
X-Git-Tag: v_3_0_21~73
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/faq/@default-cgi@/user-manual/static/diff?a=commitdiff_plain;h=d463102e0f66047d1de91708a378e58ed324186f;p=privoxy.git

Add a LSB info block

Based on a patch from Natxo Asenjo and the example
from http://wiki.debian.org/LSBInitScripts.
---

diff --git a/privoxy-generic.init b/privoxy-generic.init
index bc758a93..55f6bb71 100755
--- a/privoxy-generic.init
+++ b/privoxy-generic.init
@@ -33,6 +33,16 @@
 #
 ###########################################################################
 
+### BEGIN INIT INFO
+# Provides:          privoxy
+# Required-Start:
+# Required-Stop:
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: Start privoxy at boot time
+# Description:       Start and stop the privacy-enhancing HTTP proxy privoxy.
+### END INIT INFO
+
 # NOTE: This script may require editing to ensure proper location of
 # config file, and the privoxy executable. Care should be taken to ensure
 # logfile is writable by $P_USER (logfile is defined in config), and that