X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=privoxy.logrotate;h=799ddeaaf95516cb138b2e001e813db2659649ac;hb=e570f7c3e50c7d771099182206c30d86f7d13a20;hp=29bb016993dc3bca7b9037f46d536923b39cf29b;hpb=60adfb320a5a421cf69e91fba0b3c0ad2eb664ae;p=privoxy.git diff --git a/privoxy.logrotate b/privoxy.logrotate index 29bb0169..799ddeaa 100644 --- a/privoxy.logrotate +++ b/privoxy.logrotate @@ -1,15 +1,15 @@ # -# Logrotate file for Junkbuster RPM +# Logrotate file for Privoxy RPM # # ******************************************************************** # -# File : $Source: /cvsroot/ijbswa/current/junkbuster.logrotate,v $ +# File : $Source: /cvsroot/ijbswa/current/privoxy.logrotate,v $ # -# Purpose : Rotates all potential Junkbuster logfiles +# Purpose : Rotates all potential Privoxy logfiles # # # 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 @@ -33,55 +33,22 @@ # or write to the Free Software Foundation, Inc., 59 # Temple Place - Suite 330, Boston, MA 02111-1307, USA. # -# Revisions : -# $Log: junkbuster.logrotate,v $ -# Revision 1.7 2001/12/30 14:07:32 steudten -# - Add signal handling (unix) -# - Add SIGHUP handler (unix) -# - Add creation of pidfile (unix) -# - Add action 'top' in rc file (RH) -# - Add entry 'SIGNALS' to manpage -# - Add exit message to logfile (unix) -# -# Revision 1.6 2001/12/13 23:19:43 steudten -# Add 'restart' of junkbuster service after rotate logfiles. -# Better we could use the well known 'kill -HUP', but the handler -# isn't there at this time. -# -# Revision 1.5 2001/11/05 21:31:51 steudten -# Change switch mode from weekly to size 1M -# -# Revision 1.4 2001/06/28 13:30:22 sarantis -# add missingok for the jarfile entry -# -# Revision 1.3 2001/06/04 18:31:58 swa -# files are now prefixed with either `confdir' or `logdir'. -# `make redhat-dist' replaces both entries confdir and logdir -# with redhat values -# -# Revision 1.2 2001/05/24 07:52:24 swa -# added header. removed ^M. -# -# Revision 1.3 2001/05/24 07:41:33 swa -# added header -# -# -# # ********************************************************************/ -/var/log/junkbuster/logfile { +/var/log/privoxy/logfile { + missingok compress size 1M postrotate - /sbin/service junkbuster reload 2> /dev/null || true + /sbin/service privoxy reload 2> /dev/null || true endscript } -/var/log/junkbuster/jarfile { +/var/log/privoxy/jarfile { missingok compress size 1M postrotate - /sbin/service junkbuster reload 2> /dev/null || true + /sbin/service privoxy reload 2> /dev/null || true endscript }