X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=privoxy.init;h=a9752cadeb72c8861535ab2ed63d4b357e05db92;hb=7f74ded8d7233ec525425672a817e30fdd8b601b;hp=bf52aabad32bf482109887e46e893b653056b598;hpb=60adfb320a5a421cf69e91fba0b3c0ad2eb664ae;p=privoxy.git diff --git a/privoxy.init b/privoxy.init index bf52aaba..a9752cad 100644 --- a/privoxy.init +++ b/privoxy.init @@ -1,13 +1,23 @@ #!/bin/sh +# +# This is file /etc/rc.d/init.d/privoxy and was put here +# by the privoxy rpm +# +# chkconfig: 235 84 09 +# +# description: This shell script takes care of starting and stopping \ +# privoxy. +# + # ******************************************************************** # -# File : $Source: /cvsroot/ijbswa/current/junkbusterng.init,v $ +# File : $Source: /cvsroot/ijbswa/current/privoxy.init,v $ # # Purpose : This shell script takes care of starting and stopping -# junkbuster. +# privoxy. # # Copyright : Written by and Copyright (C) 2001 the SourceForge -# IJBSWA team. http://ijbswa.sourceforge.net +# Privoxy team. http://www.privoxy.org/ # # Based on the Internet Junkbuster originally written # by and Copyright (C) 1997 Anonymous Coders and @@ -32,7 +42,25 @@ # Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # Revisions : -# $Log: junkbusterng.init,v $ +# $Log: privoxy.init,v $ +# Revision 1.6 2002/03/26 22:29:55 swa +# we have a new homepage! +# +# Revision 1.5 2002/03/25 06:14:18 morcego +# Removing the OPRG definition (no longer needed) +# +# Revision 1.4 2002/03/25 04:16:48 hal9 +# Fix proper config file location. +# +# Revision 1.3 2002/03/24 19:12:15 hal9 +# Fixed some naming conflicts. +# +# Revision 1.2 2002/03/24 11:40:14 swa +# name change +# +# Revision 1.1 2002/03/24 11:23:44 swa +# name change +# # Revision 1.1 2002/03/22 20:53:03 morcego # - Ongoing process to change name to JunkbusterNG # - configure/configure.in: no change needed @@ -133,15 +161,6 @@ # # ********************************************************************/ -# This is file /etc/rc.d/init.d/junkbuster and was put here -# by the junkbuster rpm -# -# chkconfig: 235 84 09 -# -# description: This shell script takes care of starting and stopping \ -# junkbuster. -# - # Source function library. . /etc/rc.d/init.d/functions @@ -151,11 +170,10 @@ # Check that networking is up. [ ${NETWORKING} = "no" ] && exit 0 -JB_OPRG="junkbuster" -JB_PRG="jbng" +JB_PRG="privoxy" JB_BIN="/usr/sbin/$JB_PRG" -JB_CONF="/etc/$JB_OPRG/config" -JB_USER="junkbuster" +JB_CONF="/etc/$JB_PRG/config" +JB_USER="privoxy" JB_PID=/var/run/$JB_PRG.pid JB_LOCK=/var/lock/subsys/$JB_PRG JB="$JB_BIN --user $JB_USER.$JB_USER --pidfile $JB_PID $JB_CONF"